Loading...

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
mid

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.

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.