Loading...

Oldest and Newest User Sessions

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

Domain
SQL
Difficulty
easy
Seniority
mid

Problem

Pull all session details for the user with the earliest signup date and the user with the latest signup date. Only consider users who have at least one session.

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.