ClickHouse/tests/queries/1_stateful/00036_aggregate_hashed.sql

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

2 lines
126 B
MySQL
Raw Normal View History

SELECT SearchEngineID AS k1, SearchPhrase AS k2, count() AS c FROM test.hits GROUP BY k1, k2 ORDER BY c DESC, k1, k2 LIMIT 10