Skip to content

Why These 20?

Hand-curated for maximum interview ROI.

Cross-Dialect Date Mastery

The only collection that runs every date problem in both SQLite and PostgreSQL side-by-side. Drills the cross-dialect gotchas explicitly — JULIANDAY vs EXTRACT(EPOCH …), strftime vs ISO week numbering — so you survive a job switch.

Real Timestamped Events

Every problem runs on industry-grade schemas with realistic timestamps — login sessions, order placements, message sends, playback events. Date arithmetic on the data shape interviews actually probe.

Time-Series Capstone

Stage 5 ties everything together — LAG period-over-period, SUM OVER running totals, AVG OVER moving averages, and a multi-CTE subscriber LTV scorecard. The same time-series shape that decides DA/DS onsites at every FAANG.

Skill Coverage

How the 20 problems distribute across SQL topics.

Recent-Window Filter (DATE +/- N days)
2
strftime Year/Month Literal Filter
2
JULIANDAY Days-Between (duration math)
4
strftime Monthly Bucketing (GROUP BY month)
4
Aging Tier CASE WHEN
1
Time-of-Day Extraction (strftime hour)
2
LAG Over Date Column
2
Running Totals / Moving Averages Over Date
2
Multi-CTE Date-Heavy Capstone
1

FAQ

The first 4 problems (Stage 1) are completely free.

Stages 2-5 require a Premium subscription, which gives you access to all 1,625 problems across 15 production-grade datasets.

Ready to Master SQL?

Start with Stage 1 — graded instantly in your browser.

All company names, logos, and trademarks are the property of their respective owners. Their use is for identification purposes only and does not imply endorsement.