We use cookies for site analytics. Accept to help us understand how the site is used. See our Privacy Policy for details.
Filtering and sorting - WHERE predicates, ORDER BY, LIMIT, and CASE expressions for derived columns - is where every SQL screen starts. These are the questions you should answer fast and flawlessly to bank time for the harder ones, so drill them until the syntax is automatic. They also carry the fundamentals (NULL handling, evaluation order) that the advanced topics build on.
11 problems across 3 schemas · 4 free for registered users. Each runs your query in an isolated SQLite sandbox with instant, graded feedback.
Keep the syntax at your fingertips with the free SQL quick references, then come back and solve.