A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The data quality team flagged stale records in a dimension table. Identify users who had zero sessions between June 1 and July 1, 2026. Include both users who were active outside that window and users who never had any sessions at all.
Summary
Ghost accounts. Active signup, zero sessions.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.