mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
10 lines
243 B
MySQL
10 lines
243 B
MySQL
|
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;
|