摘要: DB2函数配合 select row_number() over(order by col desc nulls first/nulls last ) as rn,col from table1order by rn; nulls first:把空值放到最前面,再对非空值排序 nulls last: 阅读全文
posted @ 2018-06-21 09:04 OLIVER_QIN 阅读(944) 评论(0) 推荐(0) 编辑