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