oracle查询排序后的前几条记录

select * from (select * from table order by 字段名 desc) where rownum<你要查的记录条数,这样才能符合条件。
原文地址:https://www.cnblogs.com/guokai870510826/p/5818378.html