ClickHouse/dbms/tests/queries/1_stateful/00004_top_counters.sql

2 lines
90 B
MySQL
Raw Normal View History

SELECT CounterID, count() AS c FROM test.hits GROUP BY CounterID ORDER BY c DESC LIMIT 10