Master SQL Interviews

60 curated questions • Real SQL engine • Expert explanations

60
Questions
19
Easy
25
Medium
16
Hard

How It Works

  1. Pick a question from the sidebar
  2. Run queries against a real SQLite database (Ctrl+Enter)
  3. Submit your answer for instant validation
  4. Learn with hints and full solutions
  5. Track progress across your interview prep

Recommended Path

1

Easy Questions

Master the fundamentals: filters, joins, aggregates, and basic grouping.

2

Medium Questions

Dive into window functions, complex joins, and data transformations.

3

Hard Questions

Advanced patterns: gaps & islands, sessionization, and retention analysis.

Question Sources

Our questions are sourced from multiple high-quality resources:

  • 48 Original questions — custom-designed interview problems
  • 5 Interview patterns — inspired by real LeetCode/HackerRank problems
  • 5 SQLZoo tutorials — curated from the free SQLZoo platform
  • 2 External sources — attributed to public educational resources

Full sourcing & attribution →