发布网友 发布时间:2022-04-22 00:05
共1个回答
热心网友 时间:2022-04-09 20:26
select name,code,dept, to_char( (date-4 ) ,'YYYY/MM') ,sum(cost) from talname追答select name,code,dept,
to_char( add_months ((zs.yzfsrq -4 ),1) ,'YYYY/MM' )
,sum(cost) from talname
group by name,code,dept,
to_char( add_months ((zs.yzfsrq -4 ),1) ,'YYYY/MM' )
试试