A 本期B 同期(环期)同比(环比) = (A-B)/BDECODE(NVL(B,0),0,0,ROUND(((A-B)/B),4)), --环比 DECODE(NVL(B),0,0,ROUND(((A-B)/B),4)) --同比