mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +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;
|