The result data type of a CASE expression can not be determined;
at least one non-null THEN or ELSE expression must be specified.
Explanation
The result data type of a CASE expression can
not be determined because all of the THEN expressions and the ELSE
expression (if present) specifies the NULL key word.