nerdexam
Oracle

1Z0-071 · Question #101

View the Exhibit and examine the structure of the ORDERS table. The ORDER_ID column is the PRIMARY KEY in the ORDERS table. Evaluate the following CREATE TABLE command: CREATE TABLE…

The correct answer is B. The NEW_ODRDERS table would get created and only the NOT NULL constraint defined on the. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the structure of the ORDERS table. The ORDER_ID column is the PRIMARY KEY in the ORDERS table. Evaluate the following CREATE TABLE command:

CREATE TABLE new_orders(ord_id, ord_date DEFAULT SYSDATE, cus_id) AS SELECT order_id.order_date,customer_id FROM orders; Which statement is true regarding the above command?

Exhibit

1Z0-071 question #101 exhibit

Options

  • AThe NEW_ODRDERS table would not get created because the DEFAULT value cannot be
  • BThe NEW_ODRDERS table would get created and only the NOT NULL constraint defined on the
  • CThe NEW_ODRDERS table would not get created because the column names in the CREATE
  • DThe NEW_ODRDERS table would get created and all the constraints defined on the specified

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    75% (24)
  • C
    3% (1)
  • D
    16% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice