Loading...
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
- mid
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.
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.