mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
12 lines
256 B
SQL
12 lines
256 B
SQL
-- Tags: replica
|
|
|
|
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;
|