mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
5 lines
202 B
SQL
5 lines
202 B
SQL
WITH round(exp(number), 6) AS x, toUInt64(x) AS y, toInt32(min2(x, 2147483647)) AS z
|
|
SELECT formatReadableQuantity(x), formatReadableQuantity(y), formatReadableQuantity(z)
|
|
FROM system.numbers
|
|
LIMIT 45;
|