您的位置: 首页 > IT文章 > SQL查询排序某字段并选前N条数据 SQL查询排序某字段并选前N条数据 分类: IT文章 • 2022-04-02 19:59:46 看了网上各种乱七八糟的答案,无语。 明明这一句话就行了。 select * from personinfo order by credit DESC limit 0,5