Home Cases About

Fun SQL Games & SQL Mystery

Query the Murder is a fun SQL game and SQL mystery. The clues live in a database—you solve mysteries by writing SQL queries. No installations, just fun SQL practice.

How gameplay works

Step-by-step cases

Each case has 5 questions that guide you through suspects, motives, timelines, and evidence.

Real datasets

Tables represent events, relationships, and other clues. Your SQL turns raw data into answers.

Immediate feedback

Submit your query and see results instantly—iterate until the story clicks.

Learn by doing

Practice JOINs, grouping, and subqueries while uncovering contradictions and alibis.

Who it’s for

Pick a case Learn SQL with cases