【发布时间】:2021-09-08 17:42:24
【问题描述】:
在 2 个表 a1、a2 中有 2 个相似的列(x1 与 x2)。我怎样才能匹配和排列它们? 我尝试了比较功能,但失败了。
data a1;
input x1 $15.;
cards;
abcd
go shopping
DUT univarsity
he is driving
;
run;
data a2;
input x2 $15.;
cards;
golf shopping
she is driving
abcdf
DUT univars
;
run;
我想要具有匹配值的决赛桌:
abcd abcdf
go shopping golf shopping
DUT univarsity DUT univars
he is driving she is driving
【问题讨论】: