Pro question
Rolling seven-day cancellation rate
SQL & Data Modeling · Window Functions · hard · Original Uplift question · PostgreSQL · 22 min
For every calendar date from the first through last order date, compute the trailing seven-calendar-day cancellation rate: canceled orders divided by all orders in that date and the prior six dates.
This question is part of Pro
The prompt, fixtures, grading criteria and model write-up stay on the server until your plan unlocks them.
Source
Original Uplift question based on a common interview pattern.