ClickHouse/dbms/tests/queries/0_stateless/00178_function_replicate.sql
2016-06-07 11:23:15 +03:00

10 lines
238 B
SQL

SELECT
number,
range(number) AS arr,
replicate(number, arr),
replicate(toString(number), arr),
replicate(range(number), arr),
replicate(arrayMap(x -> toString(x), range(number)), arr)
FROM system.numbers
LIMIT 10;