Loading...

Multi-Variant Experiments

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

Which experiments have participants in both 'variant_a' and 'variant_b'? Return the experiment name for every experiment that has at least one record in each variant.

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.