← 返回 meta 的题目列表SQL CASE Statement Result When No Conditions Match Without ELSE
类型:online_judge
meta
What will be returned if all the conditions in a CASE WHEN statement don't match and there is no ELSE statement?
Example
Input
SELECT CASE WHEN condition1 THEN 'result1' WHEN condition2 THEN 'result2' END;