# F261-01: Simple CASE

query I
SELECT CASE 0 WHEN 2 THEN 1 ELSE 1 END
----
1

query I
SELECT CASE 0 WHEN 2 THEN 1 ELSE NULL END
----
null

query I
SELECT CASE 0 WHEN 2 THEN 1 END
----
null

query I
SELECT CASE 0 WHEN 2 THEN NULL ELSE 1 END
----
1

query I
SELECT CASE 0 WHEN 2 THEN NULL ELSE NULL END
----
null

query I
SELECT CASE 0 WHEN 2 THEN NULL END
----
null

query I
SELECT CASE 0 WHEN 2 THEN 1 ELSE 1 END
----
1

query I
SELECT CASE 0 WHEN 2 THEN 1 ELSE NULL END
----
null

query I
SELECT CASE 0 WHEN 2 THEN 1 END
----
null

query I
SELECT CASE 0 WHEN 2 THEN NULL ELSE 1 END
----
1

query T
SELECT CASE 0 WHEN 2 THEN NULL ELSE NULL END
----
null

query T
SELECT CASE 0 WHEN 2 THEN NULL END
----
null
