Loading...
Revenue by Product
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
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.
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.