Business analytics patterns: SQL patterns and examples

Cohorts, funnels, segmentation, churn lists, streaks and outliers: the multi-step queries that analysts write most often.