首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

分组移位 移动列

2012-07-02 
分组位移 移动列select vc2areacode,datbegindate,?lead(c.datbegindate,1,null) over (partition by c.vc

分组位移 移动列

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

?

?

?

热点排行