Question: Your supervisor has asked you to write a report showing the details for each order, along with the grand total for the order. After grouping
Your supervisor has asked you to write a report showing the details for each order, along with the grand total for the order. After grouping the ORDERITEMS and PRODUCTINFORMATION tables, use ROLLUP to show the grand totals
Return these columns for each order:
The ORDERID from the OEORDERITEMS table
The PRODUCTNAME from the OEPRODUCTINFORMATION table
The sum of UNITPRICE QUANTITY from the OEORDERITEMS table with an alias of TOTAL
Use the ROLLUP operator to include a row that gives Ithe grand total.
The results should be something like:
tableORDERIDPRODUCTNAME,TOTALDrive Mount ADrive Mount DLaptop Manual Vision OSX Laptop V
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
