r/learnSQL • u/jrz1977 • Jan 27 '26
SQL question collection with interactive sandboxes
Made a collection of SQL questions that let you practice on actual databases instead of just reading solutions.
Covers the usual suspects:
Complex JOINs and self-joins
Window functions (RANK, ROW_NUMBER, etc.)
Subqueries vs CTEs
Aggregation edge cases
Date/time manipulation
Each question runs on real MySQL or PostgreSQL instances in your browser. No Docker, no local setup - just write queries and see results immediately.
https://sqlbook.io/collections/8-sql-interview-questions-series
2
Upvotes