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

SQL MAX and MIN Tutorial - Interactive Database Lesson

Lesson 16 of 31

MAX and MIN

Interactive SQL Tutorial

We can use the MAX and MIN to find the maximum or minimum value of a table.

To find the least number of legs in a family member (2), you can run
SELECT MIN(num_legs) FROM family_members;

Can you find the highest num_books_read that a family member makes?

SQL:

Query Result:

Available Tables: