Evaluate the following statement: INSERT ALL WHEN order_total < 10000 THEN INTO
small_orders WHEN order_total > 10000 AND order_total < 20000 THEN INTO
medium_orders WHEN order_total > 2000000 THEN INTO large_orders SELECT order_id,
order_total, customer_id FROM orders; Which statement is true regarding the evaluation of
rows returned by the subquery in the INSERT statement?
A.
They are evaluated by the first WHEN clause. If the condition is false, then the row would
be evaluated by the subsequent WHEN clauses.
B.
The INSERT statement would give an error because the ELSE clause is not present for
support in case none of the WHEN clauses are true.
C.
They are evaluated by the first WHEN clause. If the condition is true, then the row would
be evaluated by the subsequent WHEN clauses.
D.
They are evaluated by all the three WHEN clauses regardless of the results of the
evaluation of any other WHEN clause.
INSERT ALL
INTO mytable (column1) VALUES (expr1)
INTO mytable (column1) VALUES (expr1)
INTO mytable (column1) VALUES (expr1)
SELECT * FROM dual;
this is the simple syntax , these three statement are independent three insert statements ,,,,,,,,likewise in above question it evaluate all three when clause
correct if wrong..