ClickHouse/tests/queries/0_stateless/01492_format_readable_quantity.sql

5 lines
184 B
MySQL
Raw Normal View History

WITH round(exp(number), 6) AS x, toUInt64(x) AS y, toInt32(x) AS z
SELECT formatReadableQuantity(x), formatReadableQuantity(y), formatReadableQuantity(z)
FROM system.numbers
LIMIT 45;