Top 10 AB Test Variants
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
For the 'onboarding_v3' A/B test, rank the top 10 results by metric value, showing the rank, variant name, and user ID. Do not include duplicate variants. Results should go from rank 1 upward.
Summary
The ten best-performing variants.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.