Loading...

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

Problem

Inner-join user_sessions to content_items on user_sessions.user_id = content_items.creator_id. Per creator_id, return creator_id and AVG(session_duration_sec). Sort by creator_id ascending.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.