CodeAgeBy Sitezack
Your data, your database 🗄️SQL with real data0 XP
Chapter progress0/5

Lesson 3 of 6

WHERE: filter the scores

WHERE keeps only the rows that match a condition. The scores table holds games played (player, game, points).

SELECT player FROM scores WHERE points > 1000 returns only the high scores. Conditions combine with AND and OR.

SELECT player FROM scores WHERE game = 'Rush';

🎯 Your goal

Return the player of games whose score (points) is greater than 1000.

PRO lesson

This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.

Discover PRO