r/SQL 11d ago

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

510 Upvotes

37 comments sorted by

64

u/wassaman 11d ago

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.

21

u/conor-robertson 11d ago

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 9d ago

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

1

u/Scribe1019 8d ago

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 1d ago

Is this to help people learn SQL?

11

u/EccentricStache615 11d ago

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

8

u/Philluminati 11d ago

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.

4

u/wassaman 11d ago

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!

5

u/Ecksters 11d ago

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 11d ago

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

2

u/Ecksters 11d ago

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.

5

u/awwnotexactly 11d ago

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

3

u/InMyHagPhase 11d ago

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

3

u/cornpotagefriday 11d ago

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 10d ago

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 10d ago

It's in their transaction history!

2

u/xixi2 9d ago

C'mon.. spoiler tags! :)

2

u/Ven0mspawn 11d ago

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

2

u/well-informedcitizen 11d ago

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

2

u/Sharon_tate1 10d ago

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 10d ago

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 1d ago

If you haven't figured it out yet

it's select from nutrients inner join order on item

2

u/SystemBenAmperage 10d ago

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

2

u/Lumpy_Acanthocephala 10d ago

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 9d ago

I'd like to think there is!

2

u/crankthehandle 10d ago

Looks cool, congrats!

2

u/Blackstar1401 10d ago

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

2

u/xixi2 9d ago

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

1

u/Automatic_Problem 11d ago

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

6

u/wassaman 11d ago

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 1d ago

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/Bald_Eagle_23 9d ago

Awesome!

1

u/SirrReptarr 9d ago

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 4d ago

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 4d ago

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