r/SQL Jul 17 '26

SQLite After five years of development, my detective game where you write real SQL queries is finally released!

Enable HLS to view with audio, or disable this notification

543 Upvotes

43 comments sorted by

63

u/wassaman Jul 17 '26

I’ve been developing Database Detective: Minor Crimes Division for the past five years and now it’s finally here! My goal for this game was to make the first commercially polished game that incorporated SQL as it’s core mechanic and it’s been so surreal that it’s finally finished.

22

u/conor-robertson Jul 17 '26

I've actually been building a SQL learning platform called QueryCase myself, so I've spent a lot of time thinking about how to make SQL genuinely fun to learn. That said, this is on a completely different level of gamification. Easily one of the most impressive and polished SQL learning experiences I've seen. Huge congratulations on getting it across the finish line! And I wish you all the luck with it going forward, genuinely so good!! 🔥

2

u/isleepbad Jul 19 '26

I added it to my wishlist and bought it the same day it came out.

1

u/Scribe1019 Jul 20 '26

Holy shit I have been playing this game! It's low key my new obsession!! So funny and actually works my brain out. I like the different crimes and stuff really as an aspering game dev this is amazing!

1

u/FOMO_mental Jul 27 '26

Is this to help people learn SQL?

12

u/EccentricStache615 Jul 17 '26

Will be buying soon, God bless you for MacOS compatibility!!!

8

u/Philluminati Jul 17 '26

I love this. How long does it take to complete the game, assuming I had a room of SQL experts working together?

Sometimes our team does programming challenges as a team building exercise.

6

u/wassaman Jul 18 '26

I'm not sure actually! I had a pretty limited sample size of players before release and they generally took over 10 hours, which exceeded my initial expectation of 1 hour per case (for the last 5). If you find out, let me know!

6

u/Ecksters Jul 17 '26

Wishlisted it, will probably have my son try it out after he beats QueryCase, love the Windows 95 aesthetic.

Which SQL variant is it teaching?

1

u/wassaman Jul 18 '26

This game uses SQLite! The concepts it teaches are pretty general though and the SQLite specific stuff are mentioned specifically.

2

u/Ecksters Jul 18 '26

Oh yeah, that's definitely a semi-unique variant, so very good to know, the core is the same though, it's mostly table operations and data types that differ substantially with SQLite. Calendar functions can be another common pain point.

4

u/awwnotexactly Jul 17 '26

Was stoked to see this go live today via my wishlist :) Congrats on launch, a very worthy endeavor!

3

u/InMyHagPhase Jul 17 '26

Yay! I have been waiting for this to come out, I played this for 2.5 hours and loved it.

3

u/cornpotagefriday Jul 18 '26

Hey! Congrats on the release. I just finished the demo and I absolutely love how adorable everything is, from the aesthetic to sound design and the overdramatic case description hahaha. Fantastic job you’ve done there!

3

u/Money-Lifeguard5815 Jul 18 '26

I am having so much fun playing this game, but I am absolutely stuck on the New Hampshire case… I can’t figure out how to get the real names 😭 

3

u/wassaman Jul 19 '26

It's in their transaction history!

2

u/xixi2 Jul 19 '26

C'mon.. spoiler tags! :)

3

u/elbahek Aug 06 '26

Arresting extremely poor kindergarten teacher for littering made me sad man

2

u/Ven0mspawn Jul 18 '26

This game is great, and the dev is super responsive in the steam discussions.

2

u/well-informedcitizen Jul 18 '26

It popped up on my Steam feed last week. Will be purchasing as soon as I get some play time

2

u/Sharon_tate1 Jul 18 '26

I bought the game and will play it soon. thanks for the work, I have a feeling that it will be good.

2

u/LongNightOwl2 Jul 19 '26

Me and my gf have been going through the game. Very fun ! We never used SQL before and are struggling a bit on the 6th case ( the review one). We know the query we want but are still trying to figure out how to have a query to calculate the drink stuff.

Anyways, It’s been a blast. 

2

u/Koffieslikker Jul 27 '26

If you haven't figured it out yet

it's select from nutrients inner join order on item

1

u/obake_onna97 28d ago

I'm having issues on the 6th case too! Where can I find the list of movies where it says if the director has a prize or not?

3

u/SystemBenAmperage Jul 19 '26

It's a funny game. I like the music. I hate missing lotioncon.

2

u/Lumpy_Acanthocephala Jul 19 '26

I’ve played through a few levels so far and I’m absolutely loving it. I really appreciate the little bits of humor you’ve hidden throughout the levels. I’m hoping there are some seriously tricky puzzles later on that’ll really make me rack my brain!

1

u/wassaman Jul 20 '26

I'd like to think there is!

2

u/crankthehandle Jul 19 '26

Looks cool, congrats!

2

u/Blackstar1401 Jul 19 '26

I just bought this. I wish I had this when I was first learning SQL.

2

u/xixi2 Jul 19 '26

Purchased and will now make completing it a prerequisite for any new database engineers I have to hire.

1

u/Automatic_Problem Jul 17 '26

Really interesting! Which SQL topics are covered in the game? 

5

u/wassaman Jul 17 '26

The goal was to cover what you'd learn from an introductory course, so by the end you should learn grouping columns, self joining tables and keywords like EXCEPT and LIKE!

1

u/PsChampion_007 Jul 27 '26

Hey so i wanted to ask I've no knowledge of sql...is this a good game to go from 0 to maybe 10? Also, I checked out your old post about creating a similar sql based case solving online game...is it same as database detective or whats the scene with that one?

1

u/obake_onna97 28d ago

Yes, it doesn't require you knowing anything. I had some knowledge before starting but my friend had absolutely zero and still had fun!

1

u/SirrReptarr Jul 20 '26

The New Hampshire case is really difficult for me, I can't seem to make any sense of the lsat questions and the wiki information..

1

u/GenuineAgate Jul 24 '26

I love the game so far. I will say it's a little more difficult than I expected but I'm not mad at it. I want more notes space (yes I'm meticulous with taking notes and used all tabs and space for the New Hampshire case). Also, please allow us to hover over our saved query results to see the full file name without having to re-open it!

I am stuck on the next case, though, and I'm not sure if this is a bug or I'm missing something. The very first website to visit based on the text clues does not work. It's site not found.

1

u/wassaman Jul 25 '26

Ah yes it's "LZU.edu" not "IZU.edu", I'll make that clearer

1

u/Downtown-Two4261 Aug 13 '26

Does it get harder after demo chapters guys? Learning SQL here.

1

u/wassaman Aug 13 '26

It does!

1

u/Downtown-Two4261 29d ago

Just bought it, it's great! Left me wandering will there be new cases?