MySQL取前几条记录的方法:
(推荐教程:mysql数据库学习教程)
返回前5行记录
select * from table LIMIT 5;
或者
select * from table LIMIT 0,5;
返回第6-15行数据
select * from table LIMIT 5,10;

MySQL取前几条记录的方法:
(推荐教程:mysql数据库学习教程)
返回前5行记录
select * from table LIMIT 5;
或者
select * from table LIMIT 0,5;
返回第6-15行数据
select * from table LIMIT 5,10;