mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 00:42:29 +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)
|