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

SQL AVG Tutorial - Interactive Database Lesson

Lesson 15 of 31

AVG

Interactive SQL Tutorial

We can use the AVG keyword in order to find the average of a given value.

For example, running SELECT AVG(num_legs) FROM family_members; returns the average number of legs of each family member.

Can you find the average num_books_read made by each family member?

Note:
- Because of the way computers handle numbers, averages will not always be completely exact.

SQL:

Query Result:

Available Tables: