3# BraveMadMan
多谢,问题解决了.我用过这个又忘了还是不熟练. 没有直接减,还要取log什么的
proc sql;
create table match10 as
select a.stkcd,a.year1,a.month,a.mretwd ,a.groupr,b.mretwdtl
from match9 as a, mont2 as b
where a.year1=b.year1 and a.month=b.month and a.markettype=b.markettype;
quit;