nerdexam
Oracle

1Z0-047 · Question #9

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

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

Question

View the Exhibit and examine the structure of the ORDERS and ORDER_ITEMS tables. In the ORDERS table, ORDER_ID is the PRIMARY KEY and ORDER_DATE has the DEFAULT value as SYSDATE. Evaluate the following statement: UPDATE orders SET order_date=DEFAULT WHERE order_id IN (SELECT order_id FROM order_items WHERE qty IS NULL); What would be the outcome of the above statement?

Exhibit

1Z0-047 question #9 exhibit

Options

  • AThe UPDATE statement would not work because the main query and the subquery use different tables.
  • BThe UPDATE statement would not work because theDEFAULTvaluecan be used only in INSERT statements.
  • CThe UPDATE statement would change all ORDER_DATE values to SYSDATE provided the current
  • DThe UPDATE statement would change all the ORDER_DATE values to SYSDATE irrespective of what

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