Query with SQL
Learn SQL by running it. Write real queries against a seeded database and get graded the instant you hit Run — projection, filtering, joins and grouping.
How this works
Each step gives you a tiny database and a task. Write the SQL, press Run, and it grades your result set in your browser — no account, nothing installed.
Return the NAME and CITY of every user.
In `SELECT name, city FROM users`, what do `name, city` control?
Return the NAMES of users who live in Bogota, sorted A→Z.
For every PAID order, return the buyer's NAME and the order AMOUNT.
What does a JOIN let you do?
Return each buyer's NAME and their TOTAL paid amount (only users who have paid orders).
You can query
You wrote real SELECTs — projection, filtering, joins and grouping — and each one ran against a live database. Your progress is saved in this browser.
Lesson complete!
Nice work. Here's what you earned this session.
You hit your XP goal for today — keep the streak alive tomorrow!
Skill mastered!
Nice work. Repeat it any time to raise its crown.





