Which two INSERT statements are valid?

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.)

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 (SELECT order_id ,order_date .customer_id FROM orders) VALUES
(1,O9-mar-2007′, 101);

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

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

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

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

Explanation:



Leave a Reply 0

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