nerdexam
Oracle

1Z0-061 · Question #183

View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables. There is only one customer with the cus_last_name column having value Roberts. Which INSERT statement should be used to add…

The correct answer is A. INSERT INTO orders VALUES (l.'10-mar-2007\ 'direct'. (SELECT customerid FROM customers. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables. There is only one customer with the cus_last_name column having value Roberts. Which INSERT statement should be used to add a row into the ORDERS table for the customer whose CUST_LAST_NAME is Roberts and CREDIT_LIMIT is 600?

Exhibit

1Z0-061 question #183 exhibit

Options

  • AINSERT INTO orders VALUES (l.'10-mar-2007\ 'direct'. (SELECT customerid FROM customers
  • B. INSERT INTO orders (order_id.order_date.order_mode. (SELECT customer id FROM customers
  • CINSERT INTO(SELECT o.order_id. o.order_date.o.order_modex.customer_id. o.ordertotal FROM
  • DINSERT INTO orders (order_id.order_date.order_mode.

How the community answered

(19 responses)
  • A
    74% (14)
  • B
    16% (3)
  • C
    5% (1)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice