ClickHouse/tests/queries/0_stateless/00283_column_cut.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

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;