Stop guessing.
Start knowing.

Everything you need to master SQL interview questions in one place: a roadmap, reference guides, concept questions, and practice problems.

0+
practice problems
0+
concept questions
0
reference guides
0+
company tags

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.

Beginner
Your First SELECT
Filtering with WHERE
JOINs: Combining Tables
Intermediate
Window Functions
CTEs
Subqueries
Advanced
Recursive CTEs
Query Planning & EXPLAIN
Performance Tuning

Given this table (orders):

idamount
1100
2NULL
3200

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.

top-customers.sql
SELECT
customer_id,
SUM(amount) AS total_spent
FROM orders
GROUP BY customer_id
ORDER BY total_spent DESC
LIMIT 10
AmazonGoogleMetaStripeAirbnbMicrosoftUberLinkedInSpotifyDoorDashShopifyXand more

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.