select*fromtable limit 5; --返回前5行
select*fromtable limit 0,5; --同上,返回前5行
select*fromtable limit 5,10; --返回6-15行
select * from persons limit A, B;
解释:
A,查询起点
B,你需要的行数