Question: write a query to return all sales data for 2 0 2 0 , along with a column called pct _ product _ sales

write a query to return all sales data for 2020, along with a column called "pct_product_sales" showing the percentage of sales for each product by region_id and month. Columns ahould include product_id, region_id, month, sales, and pct_product_sales. The values in pct_product_sales should add up to 100% for each product.

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!