- data a;
- input id$ x y$;
- cards;
- A . aaa
- B 3 .
- ;run;
- data b;
- input id$ x y$;
- cards;
- A 1 .
- B . bbb
- c 7 ccc
- ;run;
- data c;
- set a b;
- run;
- proc sql;
- select id,max(x) as x,max(y) as y from c group by id;quit;
楼主: jzhenrybx
|
1307
5
[有偿编程] 重复数据的合并 |
大专生 45%
-
|
10论坛币
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明