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

SQL WHERE ... Greater than Tutorial - Filter Database Records

Lesson 4 of 31

WHERE ... Greater than

Interactive SQL Tutorial

If we want to only select family members based on a numerical field, we can also use the WHERE keyword. For example, if we wanted to select family members with a num_books_read, we would type
SELECT * FROM family_members WHERE num_books_read > 0;

Can you run return all rows of family members whose num_books_read is greater than 190?

SQL:

Query Result:

Available Tables: