Loading...

Session-Fit Content

A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
easy
Seniority
junior, mid

Problem

For user 197, find content items whose duration is less than or equal to that user's average session length. Show the user ID, content ID, and content duration.

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.