Fun SQL Learning & Practice
Query the Murder is a fun SQL game and SQL mystery for fun SQL practice and fun SQL learning. Write real queries to uncover clues, verify alibis, and solve cases.
What you’ll practice
Each case is a guided investigation. You’ll use fun SQL commands and concepts to explore datasets, connect evidence, and build a timeline that points to the killer.
SELECT
WHERE
ORDER BY
JOIN
GROUP BY
HAVING
Subqueries
Window functions
CTEs
Why this is a great way to learn
- Motivation: You’re chasing a real outcome (the solution), not just passing test cases.
- Context: Tables represent suspects, events, and evidence—so queries actually “mean” something.
- Feedback loop: Submit queries and learn fast by iterating.
Start practicing
Ready for fun SQL exercises and fun SQL queries? Head to the cases page and pick your first SQL mystery: Start a case.