锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲成A人片777777,亚洲AV女人18毛片水真多,亚洲砖码砖专无区2023http://www.tkk7.com/star/category/30597.html瀛︿範絎旇zh-cnMon, 07 Apr 2008 01:15:15 GMTMon, 07 Apr 2008 01:15:15 GMT60LIMIThttp://www.tkk7.com/star/articles/191129.htmlstarstarSun, 06 Apr 2008 15:47:00 GMThttp://www.tkk7.com/star/articles/191129.htmlhttp://www.tkk7.com/star/comments/191129.htmlhttp://www.tkk7.com/star/articles/191129.html#Feedback0http://www.tkk7.com/star/comments/commentRss/191129.htmlhttp://www.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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 久久国产成人亚洲精品影院| 亚洲日韩乱码中文无码蜜桃臀网站| 女bbbbxxxx另类亚洲| 亚洲男人天堂2020| 亚洲一级毛片免费看| MM1313亚洲精品无码久久| 亚洲精品亚洲人成在线观看| 日韩中文字幕精品免费一区| 国产精品亚洲色婷婷99久久精品| 日韩亚洲一区二区三区| 免费看的一级毛片| 精品国产污污免费网站| 亚洲色精品三区二区一区| 亚洲精品无码久久久久| 成人免费一区二区三区在线观看| 精品熟女少妇aⅴ免费久久| 亚洲免费福利视频| 国产日产亚洲系列最新| 国产大片线上免费观看| 成人免费ā片在线观看| 亚洲男同gay片| 亚洲欧洲国产综合| 亚洲欧洲成人精品香蕉网| 免费无码成人AV片在线在线播放| 中国一级毛片免费看视频| 亚洲国产成人精品无码区二本| 亚洲va在线va天堂va四虎| 国产免费人成视频在线观看| 16女性下面无遮挡免费| 一级一级毛片免费播放| 亚洲日韩精品无码AV海量| 久久亚洲sm情趣捆绑调教 | 国产成人免费a在线视频色戒| 久久国产精品国产自线拍免费| 国产大陆亚洲精品国产| 亚洲一区在线视频| 亚洲综合一区二区精品导航| 亚洲婷婷五月综合狠狠爱| 免费成人黄色大片| 日韩免费视频播放| 18禁成年无码免费网站无遮挡|