Revenue by Product
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 general manager is preparing the annual product performance review. For each product, show the product name, total revenue generated, and the number of units sold. Only include products that have generated at least one hundred dollars in total revenue, ordered from the highest revenue product to the lowest.
Summary
Which products carry the revenue line?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.