Product Revenue Ranking
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
The merchandising team is selecting the top 5 revenue drivers for a homepage feature. Show the product name, category, and total revenue for each, sorted from highest to lowest.
Summary
Rank them by revenue. See who leads.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.