mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-06 07:32:27 +00:00
2 lines
127 B
MySQL
2 lines
127 B
MySQL
|
SELECT number, count() FROM (SELECT number FROM system.numbers LIMIT 200000) GROUP BY number ORDER BY count(), number LIMIT 10
|