Back to Developer Roadmap

Aggregate Queries

src/data/roadmaps/sql/content/[email protected]

4.0472 B
Original Source

Aggregate Queries

Aggregate queries in SQL are used to calculate summary values from multiple rows of a table, reducing the data to a single row based on a specific calculation. These calculations provide insights like totals, averages, and counts. Commonly used aggregate functions include COUNT() to count rows, SUM() to add values, AVG() to calculate the average, MIN() to find the minimum value, and MAX() to find the maximum value within a group of rows.