Loading...
The Day-7 Retention Cohort
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid, senior, staff
Problem
For each weekly signup cohort, compute what percentage of users came back and performed an action on day 7 or later. Show the cohort week, total signups, retained users, and retention rate.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.