The Ones Who Hold Attention
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
The content team is studying which creators hold viewer attention. A session counts toward a creator if the user in that session is also a creator in the content table. For each such creator, show the creator's ID and their average session length in seconds, sorted by creator ID.
Summary
Time on screen is the real vote. Find the creators earning it.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.