Top 10 Rated Products
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
Each product may have multiple reviews, but the rating column already reflects the product's average. Find the top 10 products by rating, from highest to lowest.
Summary
The ten highest-rated items.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.