mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 07:21:02 +00:00
3 lines
122 B
MySQL
3 lines
122 B
MySQL
|
SET max_rows_to_sort = 100;
|
||
|
SELECT DISTINCT x FROM (SELECT number % 10 AS x FROM system.numbers LIMIT 100000) ORDER BY x;
|