SQL practice

SQL Interview Questions with AI Grading

Practice 500+ SQL interview questions asked at Google, Amazon, Uber, Stripe and top Indian MNCs. Every question ships with a generated schema, seed data, hints, and semantic AI grading — not just answer matching.

Topics covered

How the AI grades your SQL

Instead of comparing your query string to a canonical answer, the mentor runs semantic checks: does your result set match the expected rows and column semantics, does the join topology match, and is the query correct for edge cases in the seed data. When it disagrees with your solution, it explains why with plain-English feedback and suggests a rewrite.

For window functions and CTEs — where two different queries can produce the same output — the grader inspects the execution shape, not just the output.

Interview modes

Free practice

Pick a topic, get a fresh question with schema + hints. Resume anytime — your progress is saved automatically.

Live mock interview

Voice-driven AI interviewer with barge-in, adaptive difficulty and a post-interview scorecard.

Ready to level up your SQL?

Start a 50-question adaptive session — free.

Open SQL Playground