SQLInteractiveBasic

SQL Query Lab

Build a query clause by clause, learn the order SQL really runs in, fix a bad WHERE and match join types.

Topics you will practise

  • Query syntax
  • Execution order
  • Aggregates
  • Joins

5 activities. Check each answer to see an explanation.

Results are saved only in this browser.

How this works

  • Do, then check

    Each activity (find the bug, fill the blanks, put in order, match pairs) is checked when you press Check answer, followed by an explanation.

  • Fresh order each time

    Items are shuffled on every attempt, so retrying tests understanding instead of memory of positions.

  • Skip and hints

    Skip an activity or use a hint when one is available. Skipped activities count as skipped in your results.

  • Saved on your device

    Scores and streaks are stored in your browser only. There is no account.

Topics covered

  • Query syntax
  • Execution order
  • Aggregates
  • Joins

SQL learning roadmap

Want to learn more? SQL Joins Explained with Real Questions