ClickHouse/tests/queries/0_stateless/02364_window_case.sql
Dmitry Novik 4e9adc5211 Add test
2022-07-17 23:12:37 +00:00

5 lines
93 B
SQL

SELECT CASE
WHEN sum(number) over () > 0 THEN number + 1
ELSE 0 END
FROM numbers(10)