Loading...

Users Outperforming Control

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

Domain
SQL
Difficulty
medium
Seniority
mid, senior

Problem

The experimentation team is identifying users who outperformed the control baseline. For each user in treatment_a whose metric value exceeds the average control value for the same test, show the user ID, their treatment value, and the average control value.

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.