Inactive vs Suspended Engagement
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
We want to compare page view volume between inactive and suspended user segments. For each day, compute total page views for each group. Only show dates where inactive users generated more views than suspended users, earliest first.
Summary
Premium versus free. The engagement gap.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.