Skip to content
>_sqlbuddy

Practice SQL with a real database, right in the browser.

Every query you write runs against SQLite compiled to WebAssembly — on your machine, not a server. 36 questions, from first SELECTs to window functions, with instant pass/fail feedback.

The loop

Open a question. Write SQL. Get graded.

No sign-up, no backend, no waiting. Your answer is checked against hidden fixtures with edge cases — duplicates, NULLs, and ties — so passing actually means something.

easymediumhard
  1. 01

    Read the prompt and schema

    The left panel shows the question, the schema explorer, and sample rows you can click through.

  2. 02

    Write and run SQL in a full editor

    Monaco with syntax highlighting and Ctrl/⌘+Enter to run. Results render instantly from the local engine.

  3. 03

    Submit for pass/fail validation

    Your query runs against every hidden fixture. Pass all of them and the question is marked complete — in this browser.

Your data never leaves your device

SQL runs in a Web Worker via SQLite WASM. Drafts, progress, bookmarks, and notes live only in this browser's IndexedDB. There is no backend, no analytics, no authentication.

24 topics covered — from basic SELECTs to window functions and NULL handling.