teqel 发表于 2015-9-22 01:05 
from work.means_1 (where=(group="A")) as A
full join work.means_1 (where=(group="B")) as B
on A._S ...
81 proc sql ;
81 ! *xxxxxxxxxxxxxxxxxxxxxxxx;
82 create table work.means_2 as
83 select means_1.*
84 from work.means_1 (where=(group="A")) as A
85 full join work.means_1 (where=(group="B")) as B
86 on A._STAT_=B._STAT_ ;
WARNING: Correlation name means_1 identifies more than one table.
WARNING: Variable Group already exists on file WORK.MEANS_2.
WARNING: Variable _STAT_ already exists on file WORK.MEANS_2.
WARNING: Variable Age already exists on file WORK.MEANS_2.
NOTE: Table WORK.MEANS_2 created, with 5 rows and 3 columns.
有错误啊 数据集只出来了B列