mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
836 B
SQL
10 lines
836 B
SQL
SELECT number % 2 ? toString(number) : toString(-number) FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? toFixedString(toString(number), 2) : toFixedString(toString(-number), 2) FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? toFixedString(toString(number), 2) : toString(-number) FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? toString(number) : toFixedString(toString(-number), 2) FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? toString(number) : 'Hello' FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? 'Hello' : toString(-number) FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? 'Hello' : 'Goodbye' FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? toFixedString(toString(number), 2) : 'Hello' FROM system.numbers LIMIT 10;
|
|
SELECT number % 2 ? 'Hello' : toFixedString(toString(-number), 2) FROM system.numbers LIMIT 10;
|