Loading...

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
junior

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.

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.