Twelve SQL games compared (2026): price, account, and who each one is for

November 13, 2026

A warning before you start: I made one of the games on this list. It is at the end, with its drawbacks like the others, and if you finish reading and pick a different one, the list did its job.

Most "best SQL games" pages tell you the games are fun. Fewer tell you the three things you need before you click: what it costs, whether it asks for an account, and whether it is for your first afternoon with SQL or for someone who already knows what a JOIN does. That is what the table is for.

Lee esto en español: Juegos para aprender SQL en 2026.

The table

Prices and facts checked on each game's own site or store page on November 13, 2026. Prices are what changes most, so check them again before you buy.

GamePriceAccount?How you answerGood for
SQL Murder MysteryFreeNoYou type SQLYour first afternoon with SQL
SQL IslandFreeNoYou type SQLStarting from zero
Select Star SQLFreeNoYou type SQLA guided tutorial on real data
SQL Noir3 cases free, the rest with a one-time licenseOptionalYou type SQLDetective cases, beginner to intermediate
SQL Squid GameFreeNot to startYou type SQLInterview practice
SQL Police DepartmentA few cases free, then 20 USD (license lasts about 6 months)Yes, for the full gameYou type SQLDetective cases with ranks
Lost at SQLFreeNoYou type SQLThe basics, with a story
Station ZeroFreeNoYou type SQLA story that goes up to recursive CTEs
Query the MurderFreeNoYou type SQLShort classic whodunits
Database Detective14.99 USD on Steam (free demo)Steam accountYou type SQLPlaying on PC like a regular game
Query Noir4.99 USD on SteamSteam accountYou build queries from blocksDetective stories without typing
Caso AbiertoFirst two cases free, full game 9.99 USDNoYou type SQLDetective cases, intermediate level

Free ones to start with

SQL Murder Mystery. The classic, made by the Knight Lab at Northwestern University. You get the database of a police department and a murder, and you solve it with SELECT and JOIN. It is a single mystery and you can finish it in an afternoon, which is what you want from a first game. The code is open (MIT license) and it runs in the browser.

SQL Island. A text adventure where you survive a plane crash and get off the island by writing queries. It comes from the University of Kaiserslautern and you can switch the language at the top: German, English, Spanish, Portuguese, French or Hungarian. If you are recommending a game to someone who has never written SQL, this is the first one.

Select Star SQL. More tutorial than game, and a good one. Five chapters on one real dataset, with no ads and no registration. The subject is not light: executions in Texas, from the last statements of the inmates onward. It has translations into Spanish, French, Italian, Dutch, Hebrew and Brazilian Portuguese.

Lost at SQL. A story at sea by Robin Lord, built to teach the basics so you can pull information out of a database yourself. It is free and runs in the browser.

Detective games

SQL Noir. A 1980s detective agency, nicely done, with the code on GitHub. There are six cases. Three are free and need no account; the rest unlock with a one-time license, not a subscription. The price is shown when you go to buy it, so look before you decide. It runs SQL.js in the browser, and the interface is in English, Portuguese and Chinese.

SQL Police Department. You close cases and climb the ranks. You can try a few cases for free. The full game costs 20 USD, and the license lasts about six months, which is worth knowing before you pay.

Query the Murder. Free and in the browser. Eighteen cases based on Agatha Christie novels, each one with five SQL questions.

Database Detective: Minor Crimes Division. The most "video game" entry here. It came out on Steam in July 2026, costs 14.99 USD and has ten cases. There is a free demo, so you can try it first. English only.

Query Noir. Also on Steam, released in September 2026, 4.99 USD. You build each query from blocks, so you do not type SQL. That makes it a different thing from the rest of this list: good if the syntax is what stops you, less useful if writing queries is the skill you are after. It is one of the few here with a Spanish version.

For interviews, and for going further

SQL Squid Game. From DataLemur, inspired by the series. Nine free levels in PostgreSQL with the kind of question you get in a data analyst interview.

Station Zero. From SQLMaxx. You wake up on a failing space station and SQL is the only way to talk to the computer. It is free, runs on a real Postgres database, needs no account and goes from SELECT to recursive CTEs over three acts.

Mine: Caso Abierto

It is a detective game where every case is a small database and the only tool is a SQL console. What makes it different is that naming the culprit is not enough to close a case: you hand in the query that proves it, and if the answer is typed into the query by hand, the game rejects it. It has to come out of the data.

The traps have more to do with data than with syntax. The typical one is a JOIN that doubles a total without anyone noticing, or a date that lands on the other side of midnight because of the time zone.

It is complete in English and Spanish. The first two cases play free in the browser, with no account: casoabiertogame.com

Its drawbacks, to be fair:

So, which one?

If you want a longer list, SQLMaxx keeps a directory of 39 SQL games, including phone apps and games in other languages.

If you know one that is missing, write to me through the game's page on itch.io and I will add it.

The first two cases play free in your browser, no signup.

Play the first two cases free →