โฏ๏ธAggregate Functions
COUNT
The COUNT function returns the number of rows in a group. It counts all values including NULL values.
SUM
The SUM function returns the total sum of values in a numeric column. It ignores NULL values.
AVG
The AVG function returns the average value of a numeric column. It ignores NULL values.
MAX
The MAX function returns the maximum value in a set of values. It ignores NULL values.
MIN
The MIN function returns the minimum value in a set of values. It ignores NULL values.
FIRST
The FIRST function returns the first value in a set of values. It ignores NULL values.
LAST
The LAST function returns the last value in a set of values. It ignores NULL values.
Last updated