SQL Knowledge Center · About ·
Easy Interactive Online SQL Training for Beginners

SQL SUM Tutorial - Interactive Database Lesson

Lesson 14 of 31

SUM

Interactive SQL Tutorial

We can use the SUM keyword in order to find the sum of a given value.

For example, running SELECT SUM(num_legs) FROM family_members; returns the total number of legs in the family.

Can you find the total num_books_read made by this family?

SQL:

Query Result:

Available Tables: