Work / SQL Master
SQL Master
SQL interview practice with hidden trap cases. Your query can pass the visible data and still fail the cases it never showed you.
- Status
- Release V1
- Built with
- React, TypeScript, DuckDB, PGlite, Python, Playwright
- Hosting
- Netlify (static site)

What it does
Multi-step SQL problems of the kind set in product analyst and campaign manager interviews, run against sample datasets. Each problem hides trap cases such as duplicates, missing values and messy timestamps. Submitting shows which hidden cases failed.
How it works
Everything runs in the browser: DuckDB and PostgreSQL (via PGlite), with no backend. Problems and datasets are plain files, and a build step checks that every trap case really breaks the naive query written for it.
Quality
There are 90 problems across 7 datasets. A problem only builds if its naive query really fails the trap case it claims to. Every push runs the tests, a Lighthouse audit and end-to-end tests in Chromium, Firefox and WebKit, and the site deploys to Netlify.