Oracle
xupdlwith
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Oracle 以某字段分组,以某字段排序,取前几条
select * from (select 表.*, row_number() over(partition by 以此字段为分组 order by 以此字段排序 desc) rnfrom 表) where rn=1 --表示取第一个转载 2017-03-09 09:35:48 · 5057 阅读 · 1 评论 -
利用Oracle函数及正则表达式进行排序
order by to_number(regexp_substr(残数表依頼id,'[0-9]*[0-9]',1)) desc)转载 2017-03-28 15:52:09 · 675 阅读 · 0 评论
分享