SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Day-One Return Rate

Unsolved

A mobile game studio tracks day-one retention. activity has one row per player per day they logged in, and rows are not stored in date order. A player returned on day one when they have a login exactly one calendar day after their first-ever login date. Write an SQL query that returns a single column, day_one_return_rate: the fraction of all players who returned on day one, as a number between 0 and 1 rounded to 2 decimal places.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
Classic pattern · not tied to a specific company

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM activity
Full source dataset
13 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine