Home SQL Exercises Hard
SQL Practice

Hard SQL Exercises

The challenging set. These problems need window functions, recursive CTEs, and the classic analytics patterns that come up in senior interviews: gaps and islands, top-N per group, running totals, medians and pivots. Try hard before you reveal the solution.

Hard 15 problems
Topic:
No problems match this topic.
All difficulty levels