ClickHouse/tests/queries/0_stateless/00127_group_by_concat.sql

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

2 lines
143 B
MySQL
Raw Normal View History

2015-02-22 17:44:58 +00:00
SELECT materialize('') AS k1, number % 123 AS k2, count() AS c FROM (SELECT * FROM system.numbers LIMIT 1000) GROUP BY k1, k2 ORDER BY k1, k2;