Query your way to victory. Solve murders, escape islands and command space fleets using nothing but SELECT, JOIN and friends. This page focuses on games where SQL is part of the actual play loop: you write scripts, solve puzzles, control bots or build systems instead of only reading a lesson.
Start with SQL Murder Mystery, SQL Island and The Schemaverse if you want code puzzles, learning and mmo / rts. The mix currently leans beginner and advanced, so use the ratings and difficulty labels to choose a first game that matches your comfort level.
For learners, the useful question is not just “does this game support SQL?” It is whether the game gives feedback you can reason about: a bot decision, a failing puzzle, a resource loop, a layout rule or a simulation that exposes what your code did wrong.
We keep the list narrow on purpose. If a game only mentions SQL in a side feature, it belongs in the full catalog, not here. The goal is to help you find practice where the language matters to the core loop, with enough context to compare options before opening each review.
Below are the 3 SQL programming games we track, ranked by rating. Browse the full catalog →

SQL Murder Mystery
OnlineFreeest. 2019★4.6 (264)Solve a murder by querying a city’s database — interrogate tables, follow leads and write the JOIN that names the killer.

SQL Island
OnlineFreeest. 2014★4.4 (176)Crash-land on an island and write SQL queries to talk to villagers, trade and escape. Learn databases by surviving.
The Schemaverse
OnlineFreeest. 2012★4.3 (24)A space-strategy game implemented entirely inside PostgreSQL — command your fleet with raw SQL, or write PL/pgSQL AI to play for you.