SQL Detective

SQL Detective — Solve cases by writing real SQL queries. Free to play online, no sign-up; runs 100% in your browser on ScopeTreasure.

In short: SQL Detective — Solve cases by writing real SQL queries. Free to play, no sign-up, runs in your browser.

How to Play

  1. Read the case, look at the tables, and build your query.
  2. SELECT picks columns, FROM picks the table, WHERE adds clues.
  3. Press Run. If your rows match the answer, the case is solved.

About this game

SQL Detective: read a case, inspect small tables, and build the query that returns the answer.

Ten cases cover SELECT, WHERE with AND/OR, !=, greater/less than, ORDER BY and LIMIT.

Controls: Tap chips to build the query, Run to test it

More games