hardStudy question · answer published in SQL interview questions, so no pointschurn-preventionsqlcohort-analysis
Retention above 100%?
A cohort retention query shows month-2 retention of 140% for a user cohort. Which bug is the most likely cause?
SELECT c.cohort_month, e.activity_month, COUNT(*) * 1.0 / MAX(c.cohort_size) AS retention FROM events e JOIN cohorts c ON c.user_id = e.user_id GROUP BY c.cohort_month, e.activity_month;
Discussion 0
Join free to post in the discussion.
Related questions
- Spot an early churn signalCustomer Success Manager
- Follow up a detractorCustomer Success Manager
- What net negative churn meansCustomer Success Manager
- Average customer lifetimeCustomer Success Manager
- Exit survey at cancellationCustomer Success Manager
- What multithreading meansCustomer Success Manager
- Why talk to churned customersCustomer Success Manager
- Reading a retention curveCustomer Success Manager