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