mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +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;
|