SQL & analytics · Free preview
Did onboarding actually improve?
One user completes twice. Another never completes. A third signed up yesterday. An activation chart can tell very different stories depending on how you treat them.
Your case packet.
An invented onboarding experiment has five users. Activation means at least one completion within seven days of signup. Include only non-test users with a fully observed seven-day window. The cutoff is October 15, 2026 at 00:00 UTC. Each person contributes at most once.
- Observation cutoff
- 2026-10-15 00:00 UTC, exclusive
- Activation window
- Signup inclusive to signup + 7 days exclusive
- Analysis grain
- One eligible person, not one completion event
| User / variant | Signup (UTC) | Completion timestamps (UTC) |
|---|---|---|
| 1 / A | Oct 1, 00:00 | Oct 2, 00:00 |
| 2 / A | Oct 1, 00:00 | None |
| 3 / B | Oct 1, 00:00 | Oct 2 and Oct 3, 00:00 |
| 4 / B | Oct 1, 00:00 | Oct 8, 00:00 |
| 5 / B | Oct 14, 00:00 | Oct 14, 12:00 |
Make the decision first.
- Which users belong in the denominator, and why?
- Calculate activation for A and B. What would counting completion events get wrong?
- Write a query that keeps non-activators in the denominator, then explain what this tiny sample cannot establish.
Private to this page session. Notes are not submitted or saved; copy them before leaving.
A worked answer.
Not a script to memorize.
Other recommendations can be defensible. Compare the evidence, assumptions and trade-offs behind yours.
Inside the complete workshopTake the
Take the
exercise further.
90-minute written lab. Self-paced, with a complete worked answer.
Explore the complete bundle $349 one-time · 23 company courses- 01A complete runnable SQLite fixture with users, events and orders
- 02Exercises for duplicates, seven-day activation and revenue joins
- 03Exact-day retention, observation windows and expected result tables
- 04A data-quality checklist and a five-sentence product recommendation