Skip to content

SQL Case Files is a free interactive SQL game that teaches SQL through crime-solving challenges. Learn SQL online with hands-on puzzles, realistic datasets, SQL practice exercises, and a full browser-based SQLite database. Perfect for beginners learning SQL, data analysts preparing for interviews, and anyone who wants to practice SQL for free.

License

Notifications You must be signed in to change notification settings

darpanbhadra/sqlcasefiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕵️‍♂️ SQL Case Files

The Interactive Detective Game That Teaches You Real SQL Skills

👉 Play Free at: https://sqlcasefiles.com

SQL Case Files Banner


⭐ What Is SQL Case Files?

SQL Case Files is a gamified, story-driven way to learn SQL for free. Instead of boring corporate datasets, you solve crimes using real SQL queries against a live SQLite database—right in your browser.

It’s part mystery game, part SQL tutorial, part interactive coding challenge.

If you've ever wished learning SQL felt more like playing a detective RPG than reading documentation… Welcome to the squad.


🔍 Why SQL Case Files Exists

Traditional SQL learning tools are:

  • repetitive
  • academic
  • disconnected from real-world stakes

Most tutorials teach syntax, not problem-solving.

We fix that. Every challenge in SQL Case Files is a realistic crime investigation powered by real datasets. The only way to solve each case? Write SQL that uncovers clues, exposes lies, and reveals suspects.

If you want a reason to care about your queries, this is it.


🕵️ Step Into the Role of a Data Detective

In SQL Case Files, you:

  • interrogate crime databases using SQL
  • follow leads hidden in messy datasets
  • uncover motives through JOINs
  • identify red flags using aggregates
  • expose criminal networks with CTEs and recursive queries

Every clue is a SQL statement. Every mistake has narrative consequences. Every win moves the story forward.


🎮 Key Features (Designed for Maximum Learning)

💾 Runs a Full SQLite Database in Your Browser

We use WebAssembly to run the real SQLite engine client-side.

  • No servers. No accounts. No tracking.
  • Instant query results.
  • Everything stays on your device.

🧠 Smart AI Hints

You get:

  • step-by-step hints
  • query analysis
  • explanations why your SQL works or fails
  • adaptive support based on your skill level

Never stuck. Never spoiled.

📚 100+ Free SQL Challenges

A full curriculum disguised as a detective campaign.

Each season is a new type of SQL problem disguised as a case file.

Season Case Theme SQL Skills Learned
1 The First Murder SELECT, WHERE, ORDER BY
2 Payroll Poisoning COUNT, GROUP BY, Aggregates
3 Supply Chain Double Dealer JOINs (Inner, Left)
4 Disappearing Cargo Outer JOINs, NULLs
5 Market Manipulation Date/Time functions
6 Cold Case Files Subqueries
7 Ghost Accounts CASE, conditional logic
8 Public Doubts EXISTS, HAVING
9 Insider Threat Window functions
10 The Syndicate Mastermind CTEs, recursion

🎓 Designed for Beginners & Pros

Perfect if you're:

  • learning SQL for the first time
  • preparing for a tech interview
  • brushing up for a data job
  • teaching SQL in a classroom
  • bored of traditional SQL exercises

🔥 Why It’s Better Than SQL Textbooks

SQL Case Files is optimized for learning by doing:

Contextual SQL queriesRealistic datasetsNarrative motivationInstant feedbackZero setupCompletely free

Users consistently report absorbing SQL concepts faster because the story keeps them emotionally engaged.


🔎 Who Made This?

SQL Case Files is created by @darpanbhadra, built with:

  • WebAssembly
  • SQLite
  • TypeScript
  • A custom AI assistant
  • A carefully designed 10-season investigative storyline

Start Learning SQL the Fun Way

👉 Play Now — Free & No Signup: https://sqlcasefiles.com

About

SQL Case Files is a free interactive SQL game that teaches SQL through crime-solving challenges. Learn SQL online with hands-on puzzles, realistic datasets, SQL practice exercises, and a full browser-based SQLite database. Perfect for beginners learning SQL, data analysts preparing for interviews, and anyone who wants to practice SQL for free.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages