mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
13 lines
282 B
MySQL
13 lines
282 B
MySQL
|
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;
|