Ooooh, you should like this puzzler, folks! What's the output of

SELECT
(SELECT
CASE
WHEN FALSE
THEN COUNT(1)
ELSE 42
END
FROM table
WHERE FALSE
) AS test_result;

Comments