r/webdev • • Feb 13 '25 • Thanks 1

SQL Noir - Learn SQL by solving crimes

https://www.sqlnoir.com
336 Upvotes

69 comments sorted by

View all comments

1

u/crenshaw_007 May 08 '25

I've completed all but Case #005: The Silicon Sabotage. This one has me stumped, each time I think I've narrowed it down, it's not the right suspect/culprit.

1st query I ran with the employee_records, witness_statements, and incident_reports and received a few hints/tips.

2nd query I ran joining a few tables and used the clues from the first query:
WHERE cal.server_location = 'Helsinki' AND kal.keycard_code LIKE '%QX-%' AND cal.access_date = 19890421

This narrowed it down but they were not the suspects. I ran a few other queries joining the various access_logs but now I'm just stuck.

I even pulled the tables into pgadmin4 so I could view the queries on a full screen to make it easier.

1

u/Julesxana Mar 14 '26

I got stuck on case 3 and 5 - looked up the bug submissions on github to finish. for the silicon sabotage: after you get the results for that date, server, and QX% keycard you need to join to the witness statements which then gives you topic to search emails for. then search for other emails that guy got which gives hint for facility info where you see the plan from the sus emails unfold via access times. sorry to resect an old convo but it bothered me that I couldnt figure it out as I kept using not null filters :)