第二个,我想的方法有点复杂,不知道别人有没有简单的法子作者: shiyiming 时间: 2006-5-27 22:11 标题: For the second question For the second question:
data temp;
set name;
by number;
if last.number;
run;
proc sql;
create table IDahuige as
select *, monotonic() as autoId
from ahuige
;
create table final as
select *
from IDahuige
group by grp
having autoid=max(autoid)
;
quit;[/code:113dd]作者: shiyiming 时间: 2006-6-6 12:46 标题: ahuige,在下佩服 但不知道monitonic()函数在那里查到,帮助里好像没有啊,其实我要找的就是这个函数。