ClickHouse/tests/queries/0_stateless/02233_with_total_empty_chunk.sql

2 lines
131 B
MySQL
Raw Normal View History

SELECT (NULL, NULL, NULL, NULL, NULL, NULL, NULL) FROM numbers(0) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]);