Aggregate functions are typically used in the expression list of a SELECT statement and in the summary list of a WITH clause.
Aggregate functions are typically used in the expression list of a SELECT statement and in the summary list of a WITH clause.