sql如何查询数据库最后10条记录并正序输出

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

猜你喜欢

转载自www.cnblogs.com/missbye/p/12203380.html