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