nerdexam
Oracle

1Z0-047 · Question #129

View the Exhibit and examine the structure of the ORDERS and ORDERJTEMS tables. Evaluate the following SQL statement: SELECT oi.order_id, product_jd, order_date FROM order_items oi JOIN orders o…

The correct answer is D. The statement would not execute because the column part of the USING clause cannot have a qualifier. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the structure of the ORDERS and ORDERJTEMS tables. Evaluate the following SQL statement:

SELECT oi.order_id, product_jd, order_date FROM order_items oi JOIN orders o USING(order_id); Which statement is true regarding the execution of this SQL statement?

Exhibit

1Z0-047 question #129 exhibit

Options

  • AThe statement would not execute because table aliases are not allowed in the JOIN clause.
  • BThe statement would not execute because the table alias prefix is not used in the USING clause.
  • CThe statement would not execute because all the columns in the SELECT clause are not prefixed with
  • DThe statement would not execute because the column part of the USING clause cannot have a qualifier

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    8% (3)
  • D
    77% (30)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice