mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fixed tests
This commit is contained in:
parent
05a6d8e118
commit
3bc70250ae
@ -3,7 +3,7 @@
|
||||
5
|
||||
1 1
|
||||
2 1
|
||||
3 4
|
||||
3 3
|
||||
1 1
|
||||
2 1
|
||||
3 3
|
||||
|
@ -3,6 +3,6 @@ SELECT number FROM numbers(10) ORDER BY number DESC OFFSET 2 ROWS FETCH NEXT 3 R
|
||||
DROP TABLE IF EXISTS test_fetch;
|
||||
CREATE TABLE test_fetch(a Int32, b Int32) Engine = Memory;
|
||||
INSERT INTO test_fetch VALUES(1, 1), (2, 1), (3, 4), (3, 3), (5, 4), (0, 6), (5, 7);
|
||||
SELECT * FROM (SELECT * FROM test_fetch ORDER BY a OFFSET 1 ROW FETCH FIRST 3 ROWS ONLY) ORDER BY a, b;
|
||||
SELECT * FROM (SELECT * FROM test_fetch ORDER BY a, b OFFSET 1 ROW FETCH FIRST 3 ROWS ONLY) ORDER BY a, b;
|
||||
SELECT * FROM (SELECT * FROM test_fetch ORDER BY a OFFSET 1 ROW FETCH FIRST 3 ROWS WITH TIES) ORDER BY a, b;
|
||||
DROP TABLE test_fetch;
|
||||
|
Loading…
Reference in New Issue
Block a user