ClickHouse/tests/queries/0_stateless/00041_aggregation_remap.sql

2 lines
127 B
MySQL
Raw Normal View History

SELECT number, count() FROM (SELECT number FROM system.numbers LIMIT 200000) GROUP BY number ORDER BY count(), number LIMIT 10