8# pobel
谢谢。可是还是有错误。
proc sql ;
create table port as
select stkcd, year, sale,tacc,ppe,ar,ta,earn,cfo,y,t,c,e
from repr18
left join car on repr18.stkcd=car.stkcd and repr18.year=car.year
;
quit;
ERROR: Ambiguous reference, column stkcd is in more than one table.
ERROR: Ambiguous reference, column year is in more than one table.
27 quit;
引用不明确什么意思啊,每个stock变量对应10年呢,每个year变量对应所有的A股呢。