Pro question
Trailing 7-day active users
SQL & Data Modeling · Window Functions · hard · Original Uplift question · PostgreSQL · 15 min
From an events table, for each calendar date return the number of DISTINCT users active in the trailing 7 days (that date and the 6 days before it).
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.