mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
13 lines
282 B
SQL
13 lines
282 B
SQL
SELECT number FROM numbers(10) ORDER BY number ASC LIMIT 2, 9223372036854775807 WITH TIES;
|
|
|
|
SELECT '---';
|
|
|
|
CREATE TEMPORARY TABLE a (a UInt64);
|
|
INSERT INTO TABLE a SELECT number FROM system.numbers LIMIT 10;
|
|
|
|
SELECT a
|
|
FROM a
|
|
GROUP BY a
|
|
ORDER BY a ASC
|
|
LIMIT 5, 18446744073709551615;
|