mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-24 17:30:49 +00:00
2 lines
96 B
SQL
2 lines
96 B
SQL
SELECT SearchPhrase AS k1, count() AS c FROM test.hits GROUP BY k1 ORDER BY c DESC, k1 LIMIT 10
|