Stop guessing.
Start knowing.
Everything you need to master SQL interview questions in one place: a roadmap, reference guides, concept questions, and practice problems.
Roadmap
Know what to study next.
The SQL roadmap sequences every topic from first principles to advanced. Follow the path or jump to what you need.
Given this table (orders):
| id | amount |
|---|---|
| 1 | 100 |
| 2 | NULL |
| 3 | 200 |
What does this return?
SELECT COUNT(amount) FROM orders;
Learn
Test what you actually know.
Concept questions on NULL handling, window functions, joins, and aggregation edge cases — the things most people have wrong without knowing it. Each topic has a reference guide that explains the behavior, not just the rule.
Practice
Real problems. Real feedback.
152+ SQL problems from actual company interviews, run against a live database, not a mock. Step-by-step hints if you're stuck. Written solutions with complexity analysis when you're done.
Companies
Practice for the job you want.
Every problem is tagged to the company that asked it. Filter by Amazon, Google, Meta, Stripe, Airbnb, and more.
Browse by company →Start with the roadmap.
Free to start. No account needed.