nerdexam
Oracle

1Z0-047 · Question #83

1Z0-047 Question #83: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-047 to reveal the answer and full explanation for question #83. The question stem and answer options stay visible for context.

Question

View the Exhibit and examine the structure of the ORDER_ITEMS table. Examine the following SQL statement: SELECT order_id, product_id, unit_price FROM order_jtems WHERE unit_price = (SELECT MAX(unit_price) FROM order_items GROUP BY order_id); You want to display the PRODUCT_ID of the product that has the highest UNIT_PRICE per ORDER_ID. What correction should be made in the above SQL statement to achieve this?

Exhibit

1Z0-047 question #83 exhibit

Options

  • AReplace = with the IN operator.
  • BReplace = with the >ANY operator.
  • CReplace = with the >ALL operator.
  • DRemove the GROUP BY clause from the subquery and place it in the main query.

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.

Full 1Z0-047 Practice