~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/r/limit_offset.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CREATE TABLE t1 (a int primary key auto_increment);
 
2
insert into t1 values (),(),(),(),(),(),(),(),(),();
 
3
insert into t1 values (),(),(),(),(),(),(),(),(),();
 
4
SELECT a FROM t1 ORDER BY a LIMIT 10 OFFSET 1;
 
5
a
 
6
2
 
7
3
 
8
4
 
9
5
 
10
6
 
11
7
 
12
8
 
13
9
 
14
10
 
15
11
 
16
SELECT a FROM t1 ORDER BY a LIMIT 10 OFFSET 10;
 
17
a
 
18
11
 
19
12
 
20
13
 
21
14
 
22
15
 
23
16
 
24
17
 
25
18
 
26
19
 
27
20
 
28
SELECT a FROM t1 ORDER BY a LIMIT 2 OFFSET 14;
 
29
a
 
30
15
 
31
16
 
32
DROP TABLE t1;