mysql怎么查询前10条数据?

mysql 没有top的用法。取而代之的是limit
语法为:limit m,n
省略n就可以得到你要的效果了。

select * from table1 order by column desc  limit 10

原文地址:https://www.cnblogs.com/yangxia-test/p/4501261.html