Do Math with Your Data
Use aggregate functions to summarize the data.
Let’s make your database do some basic calculations. SQL includes powerful functions like COUNT
, SUM
, AVG
, MIN
, and MAX
—they’re easier than you think.
Goal
You’ll aim to:
Use SQL aggregate functions to summarize data.
Calculate totals, averages, highs, and lows. ...