select id, addr, riqi, row_number()over (partition by riqi order by riqi) as paixu from (select 1 id,'AA' addr,20150101 as riqi from dual union all select 1 id,'BB' addr,20150201 as riqi from dual) where rownum =1 ;
欢迎对it热情的同学,加qq进行技术讨论;
QQ:850922253
posted on
2015-08-20 22:32xmanman
阅读(120)
评论(0)
收藏举报