Lesson 5 of 14 · Querying and modelling
Aggregations: COUNT, SUM, AVG, GROUP BY and HAVING
Objective
Answer the shop's management questions — "How much have we sold?", "Which category brings in the most?", "Which customers come back?" — by summarizing rows with aggregate functions, GROUP BY and HAVING.
This lesson is part of the full course
Unlock SQL: Querying, Modelling and Running a Database to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.