Newer Version Available

This content describes an older version of this product. View Latest

Aggregate Functions

Aggregate functions perform computations across all values of a grouped field.

If you don't precede an aggregate function by a group by statement, it treats each line as its own group. Using an aggregate function on an empty set returns null.