Which multitable INSERT statement would you use?

The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGE_ORDERS table. The order ID, order date, and order total should be added to the ORDER_HISTORY table, and order ID and customer
ID should be added to the CUST_HISTORY table. Which multitable INSERT statement would you use?

The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGE_ORDERS table. The order ID, order date, and order total should be added to the ORDER_HISTORY table, and order ID and customer
ID should be added to the CUST_HISTORY table. Which multitable INSERT statement would you use?

A.
Pivoting INSERT

B.
Unconditional INSERT

C.
Conditional ALL INSERT

D.
Conditional FIRST INSERT



Leave a Reply 3

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


Sandhya

Sandhya

Can you pls justify the answer.. i thought it was conditional first insert.

miriam

miriam

because, if you use insert first, the rows with order value more than 30000 will be inserted into LARGE_ORDERS. But those rows will not be inserted into ORDER_HISTORY.

seenagape

seenagape

I agree with the answer. C