Free · Runs in your browser · No sign-up
Practice with real data. Make real mistakes. Build real analytical skills.
This is SQL practice on real, messy data. Every exercise also shows how you'd answer the same question in Excel and Google Sheets. It runs in your browser, with no sign-up.
Start the 30 exercises Open the playground
6 guides · 30 exercises · 24,857 real records
SELECT type, COUNT(*) AS n
FROM quakes
GROUP BY type
ORDER BY n DESC;
| type | n |
|---|---|
| earthquake | 2626 |
| landslide | 1 |
| explosion | 1 |
quakes table. Run this one yourself →Built on real public data
- USGSSeismic events, October 2026
- FuelEconomy.govEPA/DOE vehicle records
- U.S. Census BureauState population estimates
Public U.S. government data, credited as text. Not affiliated with or endorsed by any agency. Sources and licenses.
Start here
Work through the six guides in order, finish with the capstone project, then try the exercises.
- COUNT(*) vs COUNT(column)
- NULLs, blanks and placeholders
- Cleaning messy text labels
- GROUP BY and CASE
- Joining messy keys
- SQL vs Excel and Google Sheets
- Capstone project: The Messy Data Analyst Challenge
Then head to the 30 practice exercises.
Why practice here
Practice tables are tidy. Real exports are not.
Real public data
2,628 seismic events, 22,111 EPA/DOE fuel-economy records, and Census population estimates. Sources and licenses are on the datasets page.
Cleaning first
Every exercise teaches a real cleaning habit: spotting placeholders, telling blanks from NULLs, matching messy keys before you join.
SQL and spreadsheets
Each exercise shows how you'd answer the same question in Excel or Google Sheets, and you can download every table as CSV.
Private by design
The database runs in your browser through WebAssembly. No account, and your queries never leave your device.
Ready for your first rep?
Pick an exercise, write the query, and get graded on the real data.