Data Science
Beginner
Pro
SQL for Data Analysis
Write correct, fast analytical SQL — joins, windows, cohorts, funnels and the traps that silently corrupt numbers
30 min read
6 views
Master analytical PostgreSQL: query evaluation order, join fan-out traps, CTEs, window functions with frames, date bucketing, cohort retention, funnels, sessionisation, NULL pitfalls, CASE pivots, deduplication and the classic SQL interview questions.
Practice questions (6)
-
View →
The Revenue Number That Tripled Overnight
Beginner · Free -
View →
Users Who Never Purchased Returns Zero Rows
Beginner -
View →
The Running Total That Jumps in Steps
Intermediate -
View →
Build a Weekly Retention Table
Intermediate -
View →
Sessions from an Event Log, Then a Funnel
Intermediate