limit是mysql的语法
select * from table limit m,n
其中m是指记录开始的index,从0开始,表示第一条记录
n是指从第m+1条开始,取n条。
select * from tablename limit 2,4
即取出第3条至第6条,4条记录
select * from news where id in (select id from news limit 0,10)
limit 10,(select count(*) from table)
我也不摘掉