A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Problem
For each experiment, show the number of users in control, the number in treatment, and the ratio of treatment to control. If an experiment has no control users, the ratio should be null.
Summary
Control versus treatment. The participation split.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.