Aggregate Functions

Use COUNT, SUM, AVG, MIN, and MAX to calculate summary values.

Aggregate Functions

Aggregate functions help summarize data, such as totals, averages, and counts.

sql
SELECT COUNT(*) AS total_orders,
       AVG(amount) AS average_order_value
FROM orders;
Let's learn with DevBrainBox AI