Aggregate functions operate on groups of records, rather than on individual records or variables.They are often used in combination with a GROUP BY
clause.
<aggregate_function> ::= aggragate_function ([<expr> [, <expr> ...]]) [FILTER (WHERE <condition>)]
The aggregate functions can also be used as window functions with the OVER ()
clause.See Window (Analytical) Functions for more information.
Aggregate functions are available in DSQL and PSQL.Availability in ESQL is not tracked by this Language Reference.