mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
5 lines
173 B
Plaintext
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)
|