Learn SQL by seeing the data — then writing the query.

See tables like spreadsheets. Write real SQL in your browser. Short exercises, instant feedback — no install, no long videos.

Free to start. Premium unlocks hundreds of drills when you’re ready.

  • Visual table browser — rows, columns, keys
  • Shop story: customers → orders → products
  • Run real SQLite in the browser — zero install
  • Helpers only when you’re stuck
Visual tables first
1 shop dataset
Free SQL guides

One shop. Every exercise.

All drills use the same 4 tables — customers, orders, products, order_items — so you learn the skill, not a new dataset every time.

See the tables

Spreadsheet-style previews before you write a line of SQL.

Write real queries

Run SQLite in the browser. Check answer against the true result set.

Helper when stuck

Closed by default — open only if you need a nudge.

The fun, hands-on way to learn SQL

Welcome to SQL Practices — built for people who learn by doing, not by zoning out on long videos. Whether you’re preparing for a data interview, moving from spreadsheets into databases, or just tired of tutorials that don’t stick, the fastest path is short drills against a real (tiny) database in your browser.

Most courses are either walls of documentation or hours of video. You watch someone type a JOIN, it makes sense for a moment, then a blank editor appears at work and your hands freeze. Here you write the query, run it, and get instant feedback on the result — practice first, explanation when you need it.

Built for busy people

Each lesson is bite-sized. You’ll start by seeing what a table actually looks like (spoiler: a lot like a spreadsheet tab), then practice SELECT, WHERE, ORDER BY, and LIMIT. When you’re ready, you move into JOINs — connecting customers to orders the way a shop’s data is really structured — then aggregates, and business questions like “what was paid revenue?” Helpers stay closed until you ask, so you can struggle productively before getting a nudge.

One shop dataset: Northstar Market

Every exercise uses the same story. customers (first name, last name, age, country, city) place orders. Orders contain order_items, which point at products. Learn the model once; reuse it in every drill. That coherence is what turns random syntax into a skill you can take to a job.

Free to start. Premium when you want the full library.

Try the simulator with no signup. When you’ve used the free practice allowance, Premium unlocks hundreds of drills across JOINs, GROUP BY, CTEs, window functions, and shop cases. Cancel anytime on paid plans once payments are live.

Prefer reading first? Browse the SQL guides — SELECT, WHERE, JOINs, GROUP BY, and more — each one links to a matching exercise.

Start free. Upgrade when you want the full library.

Taste the simulator on us. Premium unlocks hundreds of drills.

Start free