ClickHouse/tests/queries/0_stateless/00037_totals_limit.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
138 B
MySQL
Raw Normal View History

SET output_format_write_statistics = 0;
SELECT count(), arrayJoin([1, 2, 3]) AS n GROUP BY n WITH TOTALS ORDER BY n LIMIT 1 FORMAT JSON;