QueryGym
Open app Get Pro
SQL · Python with databases · AI tutor

Prepare for your SQL & Python interview with an AI tutor

Interview-style problems graded instantly in your browser, timed mock interviews with a report, and a tutor that explains why you are wrong, gives hints instead of spoilers and drills you like a real interviewer.

For data, BI and product analysts, data engineers, backend developers, students and career switchers.

Real SQLite engine in your browser · SQL & Python problems

What interviews actually test

Three things: the query itself, the code around the database, and how you explain your thinking.

🧩

SQL live-coding

🐍

Python with databases

💬

Explaining your thinking

Patterns you will practise
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

Practice that feels like the interview

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

⚡

Real database, instant checking

📋

Briefs written the way interviewers talk

🐍

Python + databases track

🧠

Spaced repetition

Timed mock interviews, with a report

Rehearse the real round before the real round.

Work against the clock

Get your report

Learn from it

An AI tutor that teaches like a mentor

Not a chatbot that hands out answers. It sees the problem, your code and the check results, and works like a good senior colleague.

It teaches

Explains why your answer is wrong
Hints, not spoilers
Adapts to your level
Russian or English

It drills you like an interviewer

“Interview me on this problem”
“Review it like an interviewer”
Feedback after a mock interview
Example conversationIllustration, not a real recording
YouMy query returns no rows at all, but I expected some. Why?
TutorGood that you noticed. Before I say anything: what does 5 NOT IN (1, 2, NULL) evaluate to?
YouTrue?
TutorClose, but it is NULL, and WHERE does not keep NULL. Hint: one NULL in the subquery is enough to empty the result. How could you write the same filter so a NULL cannot interfere?
YouWith NOT EXISTS?
TutorYes. Try it and run the check. If it passes, I will ask how you would explain the difference to an interviewer.

Your prep plan: 7, 14 or 30 days

Every day has a topic and two to four problems from easy to hard, with a mock-interview checkpoint every few days.

7-day crash plan

See the plan →

14-day plan

See the plan →

30-day plan

See the plan →

Who it's for

Anyone heading into a technical interview that involves SQL or Python and databases.

Data, BI and product analysts

Data engineers

Backend developers

Students and career switchers

QueryGym focuses on SQL and Python with databases. It does not cover algorithm puzzles, system design or pandas.

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

How is the AI tutor different from a general chatbot?

What are AI tutor tokens?

Which roles and levels is it for?

How long should I prepare?

Does QueryGym guarantee I will get an offer?

Are these real interview questions?

What SQL dialect is it?

Do I need an account?

Where does my code run, and what does syncing do?

Is there a Russian version?

Your next SQL round starts now.