mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +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));
|