ClickHouse/tests/queries/0_stateless/01388_multi_if_optimization.reference
Alexey Milovidov 35f0e68892 Added a test
2020-07-09 01:41:25 +03:00

5 lines
173 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)