Oracle
1Z0-047 · Question #170
View the Exhibit and examine the description of the ORDER_ITEMS and PRODUCT_INFORMATION tables. The ORDER_ITEM table has records pertaining to details for each product in an order. The…
The correct answer is B. The query would return the ORDER_ID and PRODUCT_ID for the products that are ordered as well as. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the description of the ORDER_ITEMS and PRODUCT_INFORMATION tables. The ORDER_ITEM table has records pertaining to details for each product in an order. The PRODUCT_INFORMATION table has records for all the products available for ordering. Evaluate the following SOL statement:
SELECT oi.order_id, pi.product_id FROM orderjtems oi RIGHT OUTER JOIN product_information pi ON (oi. product_id=pi. Product_id); Which statement is true regarding the output of this SOL statement?
Exhibit
Options
- AThe query would return the ORDER_ID and PRODUCT_ID for only those products that are ordered.
- BThe query would return the ORDER_ID and PRODUCT_ID for the products that are ordered as well as
- CThe query would return the ORDER_ID and PRODUCT_ID for the products that are ordered but not listed
- DThe query would return the ORDER_ID and PRODUCT_ID for those products that are ordered as well as
How the community answered
(19 responses)- A5% (1)
- B79% (15)
- C11% (2)
- D5% (1)
Community Discussion
No community discussion yet for this question.
