proc sql;
select rep, max(cost)
from work.one
group by rep;
quit;
proc sql;
select o.rep, (select max(cost) from work.one as i where i.rep=o.rep)
from work.one as o
group by rep;
quit;

|
楼主: ilovejosh
|
1709
2
[学习分享] SAS Advance第15题,sas sql group by语句 |
|
已卖:99份资源 本科生 5%
-
|
| ||
|
|
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


