ClickHouse/dbms/tests/queries/1_stateful/00004_top_counters.sql
2018-08-07 20:08:51 +03:00

2 lines
90 B
SQL

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