Free 1Z0-071 Exam Braindumps

Pass your Oracle Database 12c SQL exam with these free Questions and Answers

Page 9 of 64
QUESTION 36

Evaluate the following statement. INSERT ALL
WHEN order_total < 10000>WHEN order_total > 10000 AND order_total < 20000>WHEN order_total > 200000 AND order_total < 20000>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?

  1. A. They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.
  2. B. They are evaluated by the first WHEN claus
  3. C. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.
  4. D. They are evaluated by the first WHEN claus
  5. E. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.
  6. F. The insert statement would give an error because the ELSE clause is not present for support in case none of WHEN clauses are true.

Correct Answer: A
References:
http://psoug.org/definition/WHEN.htm

Page 9 of 64

Post your Comments and Discuss Oracle 1Z0-071 exam with other Community members: