锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲成A人片777777,亚洲AV女人18毛片水真多,亚洲砖码砖专无区2023http://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在线观看| 久久精品国产亚洲5555| 看Aⅴ免费毛片手机播放| 亚洲国产精品无码专区在线观看| 女人被男人桶得好爽免费视频| 中文无码成人免费视频在线观看| 老司机精品视频免费| 亚洲乱码日产精品一二三| 亚洲国产成人久久综合一 | 日产亚洲一区二区三区| 久久乐国产精品亚洲综合| 日韩免费电影在线观看| 四虎在线免费视频| 最近中文字幕完整免费视频ww | 91亚洲国产成人久久精品网址| 亚洲国产精品无码专区| 国产亚洲3p无码一区二区| 久久精品国产亚洲Aⅴ香蕉| 无码乱肉视频免费大全合集 | 免费成人在线观看| 国产极品美女高潮抽搐免费网站| 在线jyzzjyzz免费视频| 青草草在线视频永久免费| 免费在线观看中文字幕| 国精无码欧精品亚洲一区| 亚洲一区中文字幕久久| 国产精品亚洲精品观看不卡| 中文字幕乱码亚洲无线三区| 亚洲色无码国产精品网站可下载| 亚洲av无码一区二区三区天堂 | 成人奭片免费观看| 日本v片免费一区二区三区| 亚洲人成色7777在线观看| 波多野结衣亚洲一级| 一级特黄录像免费播放中文版| 九九精品成人免费国产片| 国产免费观看a大片的网站| 久久久久久久久亚洲| 黄色一级毛片免费看| 成人毛片18女人毛片免费视频未 | 青青久在线视频免费观看|