锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲AV无码AV吞精久久,国产亚洲欧洲Aⅴ综合一区,国产精品亚洲综合一区http://m.tkk7.com/star/category/30597.html瀛︿範絎旇zh-cnMon, 07 Apr 2008 01:15:15 GMTMon, 07 Apr 2008 01:15:15 GMT60LIMIThttp://m.tkk7.com/star/articles/191129.htmlstarstarSun, 06 Apr 2008 15:47:00 GMThttp://m.tkk7.com/star/articles/191129.htmlhttp://m.tkk7.com/star/comments/191129.htmlhttp://m.tkk7.com/star/articles/191129.html#Feedback0http://m.tkk7.com/star/comments/commentRss/191129.htmlhttp://m.tkk7.com/star/services/trackbacks/191129.html

The LIMIT clause can be used to constrain the number of rows returned by the SELECT statement. LIMIT takes one or two numeric arguments, which must both be non-negative integer constants (except when using prepared statements).

With two arguments, the first argument specifies the offset of the first row to return, and the second specifies the maximum number of rows to return. The offset of the initial row is 0 (not 1):

SELECT * FROM tbl LIMIT 5,10;  # Retrieve rows 6-15

To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter. This statement retrieves all rows from the 96th row to the last:

SELECT * FROM tbl LIMIT 95,18446744073709551615;

With one argument, the value specifies the number of rows to return from the beginning of the result set:

SELECT * FROM tbl LIMIT 5;     # Retrieve first 5 rows

In other words, LIMIT row_count is equivalent to LIMIT 0, row_count.

For prepared statements, you can use placeholders. The following statements will return one row from the tbl table:

SET @a=1;
PREPARE STMT FROM 'SELECT * FROM tbl LIMIT ?';
EXECUTE STMT USING @a;

The following statements will return the second to sixth row from the tbl table:

SET @skip=1; SET @numrows=5;
PREPARE STMT FROM 'SELECT * FROM tbl LIMIT ?, ?';
EXECUTE STMT USING @skip, @numrows;

For compatibility with PostgreSQL, MySQL also supports the LIMIT row_count OFFSET offset syntax.

(select * order by id LIMIT 35,20)



star 2008-04-06 23:47 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 日本片免费观看一区二区| 韩日电影在线播放免费版| 日本在线高清免费爱做网站| 日韩va亚洲va欧洲va国产| 精品无码国产污污污免费网站国产 | 亚洲国产成人久久精品大牛影视| 亚洲免费在线观看视频| 亚洲国产片在线观看| 国产精品成人免费福利| 精品亚洲成在人线AV无码| 卡一卡二卡三在线入口免费| 色噜噜噜噜亚洲第一| 亚洲国产电影av在线网址| 好湿好大好紧好爽免费视频| 亚洲AV永久无码区成人网站| **真实毛片免费观看| 国产精品亚洲午夜一区二区三区| 精品久久免费视频| 午夜成人无码福利免费视频| 国产精品亚洲成在人线| 18禁成人网站免费观看| 亚洲日本va一区二区三区| 亚洲成人一区二区| 九九美女网站免费| 在线综合亚洲欧洲综合网站| 四虎影视永久免费视频观看| 中文字幕免费在线看线人动作大片| 亚洲an天堂an在线观看| 在线精品免费视频| 国产裸体美女永久免费无遮挡| 亚洲AV日韩AV永久无码下载| 毛片免费观看的视频| 亚欧国产一级在线免费| 亚洲精品自拍视频| 免费看国产曰批40分钟| 国产精成人品日日拍夜夜免费| 亚洲熟妇无码一区二区三区| 国产亚洲精品资在线| 免费A级毛片无码无遮挡内射| 色多多A级毛片免费看| 4480yy私人影院亚洲|