mysql查询前几条记录
#My SQL 取前多少条
select * from table LIMIT 5,10; #返回第6-15行数据
select * from table LIMIT 5; #返回前5行
select * from table LIMIT 0,5; #返回前5行
此随笔或为自己所写、或为转载于网络。仅用于个人收集及备忘。
#My SQL 取前多少条
select * from table LIMIT 5,10; #返回第6-15行数据
select * from table LIMIT 5; #返回前5行
select * from table LIMIT 0,5; #返回前5行
此随笔或为自己所写、或为转载于网络。仅用于个人收集及备忘。