Function
|
Description
|
AVG([ALL | DISTINCT] expression)
|
Returns the average of the values in a group. Null values are ignored.
|
COUNT({[ALL | DISTINCT] expression] | *})
|
Returns the number of items in a group.
COUNT(*) returns the number of items in a group, including NULL values and duplicates.
COUNT(ALL expression) evaluates expression for each row in a group and returns the number of non-null values. COUNT(DISTINCT expression) evaluates expression for each row in a group and returns the number of unique, non-null values. |
MAX([ALL | DISTINCT] expression)
|
Returns the maximum value in the expression.
|
MIN([ALL | DISTINCT] expression)
|
Returns the minimum value in the expression.
|
STDDEV([ALL | DISTINCT] expression)
STDDEV_SAMP([ALL | DISTINCT] expression)
STDEV([ALL | DISTINCT] expression)
|
Returns the Sample Standard Deviation of the values in a group. Null values are ignored.
|
STDDEVP([ALL | DISTINCT] expression)
STDDEV_POP([ALL | DISTINCT] expression)
STDEVP([ALL | DISTINCT] expression)
|
Returns the Population Standard Deviation of the values in a group. Null values are ignored.
|
SUM([ALL | DISTINCT] expression)
|
Returns the sum of all the values, or only the DISTINCT values, in the expression. SUM can be used with numeric columns only. Null values are ignored.
|
VAR([ALL | DISTINCT] expression)
VAR_SAMP([ALL | DISTINCT] expression)
|
Returns the Sample Variance of the values in a group. Null values are ignored.
|
VARP([ALL | DISTINCT] expression)
VAR_POP([ALL | DISTINCT] expression)
|
Returns the Population Variance of the values in a group. Null values are ignored.
|