A CASE SQL statement is which of the following?
Answer: A
Correct answer: A way to establish an IF-THEN-ELSE in SQL.
CASE evaluates conditions in order and yields the value belonging to the first that holds, which is a conditional expression rather than a statement. It can therefore appear anywhere a value is expected - in a select list, in an ORDER BY, or inside an aggregate.
Please log in or register to report this question.