Oracle
1Z0-047 · Question #91
1Z0-047 Question #91: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-047 to reveal the answer and full explanation for question #91. The question stem and answer options stay visible for context.
Question
View the Exhibit and examine the descriptions for ORDERS and ORDER_ITEMS tables. Evaluate the following SQL statement: SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi. quantity) "Order Amount" FROM order_items oi JOIN orders o ON oi.order_id = o.order_id GROUP BY CUBE (o.customer_id, oi.product_id); Which three statements are true regarding the output of this SQL statement? (Choose three.)
Exhibit
Options
- AIt would return the subtotals for the Order Amount of every CUSTOMER_ID.
- BIt would return the subtotals for the Order Amount for every PRODUCT_ID.
- CIt would return the subtotals for the Order Amount of every PRODUCT_ID and CUSTOMER_ID as
- DIt would return the subtotals for the Order Amount of every CUSTOMER_ID and PRODUCT_ID as
- EIt would return only the grand total for the Order Amount of every CUSTOMER_ID and PRODUCT_ID
Unlock 1Z0-047 to see the answer
You've previewed enough free 1Z0-047 questions. Unlock 1Z0-047 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
