数据分析师2017-09-30 22:48:56
Select * from user limit 1,2 in the example, still a bit unclear? -PHP Chinese website Q&A-Select * from user limit 1,2 in the example, still a little unclear? -PHP Chinese website Q&A
Please watch and learn.
阿神2016-12-17 15:17:44
limit是mysql的语法
Select * from table limit m,n
其中m是指记录开始的index,从0开始,表示第一条记录
n是指从第m+1条开始,取n条。
Select * from user limit 1,2
即取出第2条至第3条,共2条记录