Prev Question
Next Question

View the Exhibit and examine the structure of the ORDERS table.

The columns ORDER_MODE and ORDER_TOTAL have the default values ‘direct’ and 0 respectively.

Which two INSERT statements are valid? (Choose two.)

A.
INSERT INTO orders
VALUES (1, ’09-mar-2007′, ‘online’,”,1000);

B.
INSERT INTO orders
(order_id,order_date,order_mode,
customer_id,order_total)
VALUES(1,TO_DATE(NULL), ‘online’, 101, NULL);

C.
INSERT INTO
(SELECT order_id,order_date,customer_id
FROM orders)
VALUES (1,’09-mar-2007′, 101);

D.
INSERT INTO orders
VALUES (1,’09-mar-2007′, DEFAULT, 101, DEFAULT);

E.
INSERT INTO orders
(order_id,order_date,order_mode,order_total)
VALUES (1,’10-mar-2007′,’online’,1000);

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *