Welcome back, @name! We venture deeper into the walls of the Great Library. Before you lies the Hall of Numbers - a chamber where scribes do not read single scrolls, but count, sum and measure whole shelves at once.
So far you have learned to select and filter individual books. Now I will teach you to look at data from a bird's eye view. Instead of asking "which books are these?", we will ask "how many are there?", "what is the average price?", "which shelf is the richest?".
Imagine the Library's steward asks:
You cannot answer this by reading scroll after scroll. We need aggregate functions - magical tools that compute a single summary number from hundreds of rows.
In this hall you will learn:
Take up your abacus, scribe. The Hall of Numbers awaits!