ClickHouse/tests/queries/0_stateless/01388_multi_if_optimization.reference
2024-03-28 16:32:12 +00:00

7 lines
179 B
Plaintext

SELECT if(number = 1, \'hello\', if(number = 2, \'world\', \'xyz\'))
FROM numbers(10)
SELECT multiIf(number = 1, \'hello\', number = 2, \'world\', \'xyz\')
FROM numbers(10)
\N
\N