Loading...
Active Users by Session Count
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- mid, senior
Problem
The product org tracks engagement trends month over month. For the last 6 months, show the count of unique active users and the average session duration per month. Only include months where the total number of sessions exceeded 3. Present the results chronologically.
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.