Beyond the Signup
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant feedback.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The product org tracks month-over-month engagement, and treats a user as active in a given month when they logged at least one session that month. For each of the last six months that had more than 3 sessions in total, show the number of active users alongside the average session duration, oldest month first.
Summary
Anyone can create an account. Fewer actually return.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and checks it automatically.