Honeymoon Phase
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L5
Problem
We track customers as signup cohorts, one per registration year, to gauge how sticky each class was right after joining. For every signup year, take the transactions made by that year's cohort and report the share that landed in the same calendar year the customer registered, as a percentage rounded to two decimals.
Summary
Every signup class starts hot. Which ones spend the year they arrive?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.