Practice SQL with 72 free problems built on real IPL cricket, Formula 1 and UFC databases. Write queries in your browser, run them instantly and check your answer, from your first SELECT to window functions.
Start practicing SQL · Open the SQL playground
Start with the SQL Foundations track or filter by dataset, difficulty and topic.
Run queries against the real tables in your browser and see the results straight away.
Submit your answer to have it checked, then pick up where you left off next time.
Matches and ball-by-ball deliveries: runs, wickets, toss decisions and seasons.
Races, drivers, constructors, results, qualifying and lap times from 1950 to 2024.
Thousands of historical fights with fighters, weight classes, methods and odds.
Yes. Every problem and the SQL playground are free. You only need an account to submit answers and save your progress.
No. Queries run in your browser against the practice databases, so there is nothing to install or set up.
Filtering, sorting, NULLs, aggregation with GROUP BY and HAVING, joins, subqueries, CTEs, window functions and gaps-and-islands problems.
Yes. Problems range from easy to hard and use realistic multi-table data, which is close to what analyst and data engineering interviews ask.
SQLite. The SQL you write is standard and carries over to PostgreSQL, MySQL and other databases.