mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
10 lines
243 B
SQL
10 lines
243 B
SQL
SELECT
|
|
c1,
|
|
range(0, c1) AS zero_as_start_val,
|
|
range(1, c1) AS one_as_start_val,
|
|
range(c1) AS no_start_val,
|
|
range(c1, c1 * 2) AS val_as_start,
|
|
range(c1, c1 * c1, c1) AS complex_start_step
|
|
FROM values(1, 2, 3, 4, 5)
|
|
FORMAT Vertical;
|