2014-09-15 4 views

Répondre

0

Cela peut être fait tout simplement avec un proc SQL groupe par:

proc sql; 
    create table output as 
    select 
     ID, 
     min(Date) as StartDT, 
     max(Date) as EndDT, 
     Shares as SharesOutStanding 
    from input 
    group by 
     ID, 
     Shares; 
quit; 

détails supplémentaires here.

Questions connexes