首页 > 技术文章 > sql如何查询数据库最后10条记录并正序输出

missbye 2020-01-16 21:38 原文

select * from (select * from 表名 order by 字段 desc limit 10) 临时表 order by 字段

推荐阅读