mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
11 lines
319 B
SQL
11 lines
319 B
SQL
SELECT
|
|
number,
|
|
toString(number),
|
|
range(number) AS arr,
|
|
arrayMap(x -> toString(x), arr) AS arr_s,
|
|
arrayMap(x -> range(x), arr) AS arr_arr,
|
|
arrayMap(x -> arrayMap(y -> toString(y), x), arr_arr) AS arr_arr_s,
|
|
arrayMap(x -> toFixedString(x, 3), arr_s) AS arr_fs
|
|
FROM system.numbers
|
|
LIMIT 5, 10;
|