Question: You've been tasked with identifying the top 5 products that generated the highest total revenue during the first half of 2 0 2 2 ,

You've been tasked with identifying the top 5 products that generated the highest total revenue during the first half of 2022, specifically from January to June. You aim to find these products and report their product IDs and total revenues.
Order the results in descending order of Total revenue.
Total_revenue for each product is a sum of (cost * unit_solds).
Tables Schema as Below:
product_sales
columnName dataType
product_id INT
promotion_id INT
cost_in_dollars INT
customer_id INT
date DATE
units_sold INT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!