Question: write a query that will pivot the sales _ totals data so that there is a column for each of the 4 products containing the

write a query that will pivot the sales_totals data so that there is a column for each of the 4 products containing the total sales across all months of 2020. It is ok to include the product_id values in your query, and the results should look as follows: tot_sales_large_gears, 6200/ tot_sales_small_gears, 5450/tot_sales_crankshafts, 0/tot_sales_sprockets, 3050

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!