ClickHouse/tests/queries/0_stateless/01013_totals_without_aggregation.sql
2023-03-01 18:05:07 +01:00

9 lines
298 B
SQL

SET allow_experimental_analyzer = 1;
SELECT 11 AS n GROUP BY n WITH TOTALS;
SELECT 12 AS n GROUP BY n WITH ROLLUP;
SELECT 13 AS n GROUP BY n WITH CUBE;
SELECT 1 AS n WITH TOTALS; -- { serverError 48 }
SELECT 1 AS n WITH ROLLUP; -- { serverError 48 }
SELECT 1 AS n WITH CUBE; -- { serverError 48 }