Aggregate function
SQL functions that count, sum, or compute statistics across many rows.
The most common are COUNT (count rows), SUM (sum a column), AVG (average), MAX and MIN. Aggregate functions are the core of reporting and data analysis — they let you boil down millions of rows to a handful of meaningful numbers. They were introduced early in SQL and are now mandatory in every SQL engine.