QueryGym
Open app Get Pro

Get interview-ready in SQL.
One query at a time.

Practice real data-interview questions against a live database in your browser. Write SQL, hit check, get graded instantly.

Real SQLite engine in your browser ยท SQL & Python problems

Practice the way interviews actually test you

Not multiple choice. You write the query, it runs against real data, and you find out immediately whether it's right.

โšก

Real database, instant grading

๐ŸŽฏ

The full interview surface

โœจ

AI tutor when you're stuck

๐Ÿ“‹

Clear briefs, hints, solutions

๐Ÿง 

Spaced repetition

๐Ÿ”„

Sync across devices

๐Ÿ

New: Python + databases track

Every pattern interviewers reach for

Problems span easy warm-ups to hard window-function and analytics questions.

WHERE / LIKEGROUP BY + HAVINGINNER / LEFT JOIN anti-join ยท NOT EXISTScorrelated subqueriesCTE (WITH) WITH RECURSIVEROW_NUMBER / RANKSUM() OVER LAG / LEADtop-N per groupself-join strftime / datesCASE WHENCOALESCE / NULL UNION / EXCEPT / INTERSECTgaps & islandscohorts ยท retention sqlite3 ยท transactionsindexes & query plansschema migrations

Start free. Go Pro when you're serious.

Some problems are free forever. Unlock the full set, every solution, and spaced review.

Free
$0
Start free
Pro ยท best value
$39 one-time
Get lifetime access
Pro monthly
$6 /mo
Subscribe

Questions

Are these real interview questions?

What SQL dialect is it?

Do I need an account?

Does my data leave my machine?

Is there a Russian version?

Your next SQL round starts now.

Open QueryGym โ€” it's free โ†’