mysql查询前几条记录

#My SQL 取前多少条
select * from table LIMIT 5,10; #返回第6-15行数据
select * from table LIMIT 5; #返回前5行
select * from table LIMIT 0,5; #返回前5行

posted @ 2019-03-29 16:37  BloggerSb  阅读(1714)  评论(0编辑  收藏  举报