ClickHouse/tests/queries/0_stateless/01571_window_functions.sql

7 lines
250 B
MySQL
Raw Normal View History

2021-06-02 22:13:46 +00:00
-- { echo }
-- Another test for window functions because the other one is too long.
2021-06-03 10:01:44 +00:00
set allow_experimental_window_functions = 1;
2021-06-02 22:13:46 +00:00
-- expressions in window frame
select count() over (rows between 1 + 1 preceding and 1 + 1 following) from numbers(10);