ClickHouse/tests/queries/0_stateless/01391_limit_overflow.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
282 B
MySQL
Raw Normal View History

2020-07-12 05:18:01 +00:00
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;