Day-1 Player Retention Rate
Problem
**[Classic — asked at multiple game companies]**
Day-1 retention measures what percentage of players return to the game
**exactly one day after they installed it**.
Calculate the **Day-1 retention rate** as a percentage rounded to 2 dp.
Tables
Example rows — the live problem includes the full dataset.
players
| player_id | install_date |
|---|
sessions
| session_id | player_id | session_date |
|---|
Expected output
Your answer should return 1 row with the columns day1_retention_rate.
Starter code (SQL)
SELECT *
FROM players;Solve this SQL question free
Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.
Solution & explanation
Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.
Sign up free to unlock