Navigation Menu

Skip to content

Commit

Permalink
Use border values
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 5, 2012
1 parent eabd82f commit e9d22c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Expand Up @@ -8,7 +8,7 @@ INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id >= 2 ORDER BY ids.id DESC LIMIT 3;
SELECT * FROM ids WHERE ids.id >= 3 ORDER BY ids.id DESC LIMIT 3;
id
5
4
Expand Down
Expand Up @@ -8,9 +8,8 @@ INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
SELECT * FROM ids WHERE ids.id > 1 ORDER BY ids.id DESC LIMIT 3;
SELECT * FROM ids WHERE ids.id > 3 ORDER BY ids.id DESC LIMIT 3;
id
5
4
3
DROP TABLE ids;
Expand Up @@ -32,7 +32,7 @@ INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();

SELECT * FROM ids WHERE ids.id >= 2 ORDER BY ids.id DESC LIMIT 3;
SELECT * FROM ids WHERE ids.id >= 3 ORDER BY ids.id DESC LIMIT 3;

DROP TABLE ids;

Expand Down
Expand Up @@ -32,7 +32,7 @@ INSERT INTO ids VALUES();
INSERT INTO ids VALUES();
INSERT INTO ids VALUES();

SELECT * FROM ids WHERE ids.id > 1 ORDER BY ids.id DESC LIMIT 3;
SELECT * FROM ids WHERE ids.id > 3 ORDER BY ids.id DESC LIMIT 3;

DROP TABLE ids;

Expand Down

0 comments on commit e9d22c2

Please sign in to comment.