Loading...

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
junior, mid

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.

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.