在两数据集匹配的时候加上distinct可以避免重复数据的出现
proc sql; create table guanhui.loyaluser as select distinct a.serv_number,pay_way,fee from guanhui.buedetail_same a,guanhui.loyalusernumber b where a.serv_number=b.serv_number; quit;
在两数据集匹配的时候加上distinct可以避免重复数据的出现
proc sql; create table guanhui.loyaluser as select distinct a.serv_number,pay_way,fee from guanhui.buedetail_same a,guanhui.loyalusernumber b where a.serv_number=b.serv_number; quit;