Learn SQL
SUM and AVG
17.1
Lesson

Sum of ages

Let’s find sum of all the ages. We can solve this, using another aggregate function called SUM.

SUM will return the sum of all the non-null values in the column.