ClickHouse/dbms/tests/queries/0_stateless/01013_totals_without_aggregation.sql
2019-09-20 17:39:26 +03:00

7 lines
260 B
SQL
Executable File

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 49 }
SELECT 1 AS n WITH ROLLUP; -- { serverError 49 }
SELECT 1 AS n WITH CUBE; -- { serverError 49 }