SQL Fundamentals — Medium
Key points
- SUM(revenue) calculates total revenue
- GROUP BY category groups revenue by product category
- COUNT(revenue) counts number of revenue entries
- AVG(revenue) calculates average revenue
- MAX(revenue) finds the highest revenue value
Ready to go further?
Related questions
