oracle 根据字段分组后,将组内的数据根据字段排序

row_number() over(partition by 分组字段 order by 排序字段 desc)

原文地址:https://www.cnblogs.com/fengxiaoling/p/4073926.html