Phase 8Days 85-96
Advanced SQL & Analytical Data Modeling
Express sequences, cohorts, windows, and governed metric-ready tables
Phase Goal
Build reusable SQL layers using windows, dimensional models, cohorts, and performance-aware design.
Progress
Notes
Open the written lectures for this course before checking off the phase topics.
Projects
Community Bicycle Share Reliability Mart
Day 85: Window Functions Mental Model
Day 86: Running & Rolling Measures
Day 87: Lag, Lead & Change
Day 88: Cohorts & Retention
Day 89: Funnels & Event Sequences
Day 90: Recursive CTEs & Hierarchies
Day 91: Facts, Dimensions & Grain
Day 92: Slowly Changing Dimensions
Day 93: Metric SQL & Semantic Contracts
Day 94: Indexes & Performance
Day 95: Transactions & Safe Writes
Day 96: Phase Project — Bicycle Reliability Mart
Capstone
Community Bicycle Share Reliability Mart
Build for a municipal mobility operations team. The result must support this decision: where and when should rebalancing crews be repositioned? Include reproducible inputs, validation evidence, one tested failure, a changed requirement, and an explicit non-goal.
- Reproducible source-to-output workflow
- Documented quality checks and assumptions
- Decision-ready output for a named user
- Independent reconstruction and transfer evidence
Phase Complete!
After this phase, you'll be able to:
- Window Functions Mental Model
- Running & Rolling Measures
- Lag, Lead & Change
- Cohorts & Retention
- Funnels & Event Sequences
- Recursive CTEs & Hierarchies
- Facts, Dimensions & Grain
- Slowly Changing Dimensions
Independently deliver Community Bicycle Share Reliability Mart, diagnose a planted failure, explain the decision logic, and transfer the workflow to a changed requirement.