`
thinktothings
  • 浏览: 767509 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

分组位移 移动列

阅读更多

select
vc2areacode,datbegindate,
 lead(c.datbegindate,1,null) over (partition by c.vc2areacode,Vc2chargetype  order by c.datbegindate ) next_datbeginfee,
DATENDDATE,NUMFEEPRICE,Vc2chargetype,NUMDIRECT from ct_feerule@prod2 c where rownum<100000 order by vc2areacode,datbegindate,DATENDDATE

 

 

 

  • 大小: 14.1 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics