A free SQL mystery game: write real SQL queries to crack the case. A classroom-safe alternative to the SQL Murder Mystery — no install, no login.
Common questions
Is this like the SQL Murder Mystery?
Yes — it's inspired by the classic SQL Murder Mystery, but it's a friendly, crime-free version. Instead of a murder you investigate who stole the Golden Duck, so it's safe for kids, classrooms and any school district that filters out violent content.
Is it free?
Yes. The SQL Detective game is completely free to play, with no account, payment or sign-up required.
Do I need to install or log in to play?
No. It runs entirely in your browser — there is nothing to install and no login needed. The 49,000-row database loads client-side, so you can start writing SQL right away.
Is it safe for the classroom?
Yes. There is no violence or crime — just a stolen rubber duck — which makes it a school-appropriate alternative to the SQL Murder Mystery. Each student also gets a different randomized culprit, which discourages answer-sharing.
What SQL will I learn?
You practice real SQL on a real database: SELECT, WHERE, LIKE, JOIN, GROUP BY, HAVING and CTEs, working up from simple lookups to multi-table joins and aggregation.
Is it good for beginners?
Yes. No prior SQL experience is needed. A guided, concept-by-concept primer and tiered hints take you from your first query to solving the whole case.