data three;

input id exam order @;

datalines;

3 21 1

3 20 2

1 12 1

1 19 2

;

proc print noobs;

run;

으로 아래 데이터를 출력했는데

 id

 exam

order 

 3

 21

 3

 20

 1

 12

 1

 19


이 출력된자료를 data three를 이용해서 밑의 표처럼 다시 출력을하려고 하면 어떤 명령어를 사용해야됨 ??  (score1=exam1   /  score2=exam2 )


 id

score1 

score2 

 3

 21

 20

 1

 12

 19