ClickHouse/tests/queries/0_stateless/02705_grouping_keys_equal_keys.sql
2023-03-31 19:03:20 +00:00

8 lines
174 B
SQL

SELECT count()
FROM numbers(2)
GROUP BY
GROUPING SETS (
(number, number + 0, number + 1),
(number % 1048576, number % -9223372036854775808),
(number / 2, number / 2));