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 ORDER_ITEMS and PRODUCT_INFORMATION tables, use ROLLUP to show the grand totals
Return these columns for each order:
The ORDER_ID from the OE.ORDER_ITEMS table
The PRODUCT_NAME from the OE.PRODUCT_INFORMATION table
The sum of (UNIT_PRICE * QUANTITY) from the OE.ORDER_ITEMS 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:
\table[[ORDER_ID,PRODUCT_NAME,TOTAL],[2400,Drive Mount - A,41],[2400,Drive Mount - D,208],[2400,Laptop 168?110,14080],[2400,Manual - Vision OS/2X +,492],[2400,Laptop 12812??56? V90/110,54465.4],[2400,-,69286.4]]
 Your supervisor has asked you to write a report showing the

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!