mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 10:04:06 +00:00
16 lines
225 B
Plaintext
16 lines
225 B
Plaintext
|
-- { echo }
|
||
|
-- Another test for window functions because the other one is too long.
|
||
|
|
||
|
-- expressions in window frame
|
||
|
select count() over (rows between 1 + 1 preceding and 1 + 1 following) from numbers(10);
|
||
|
3
|
||
|
4
|
||
|
5
|
||
|
5
|
||
|
5
|
||
|
5
|
||
|
5
|
||
|
5
|
||
|
4
|
||
|
3
|