The SAS data set WORK.TEMP is indexed
on the variable Id:
Id Amount
-- ------
P 52
P 45
A 13
A 56
R 34
R 12
R 78
The following SAS program is submitted:
proc print data=WORK.TEMP;
[_insert_BY_statement_]
run;
Which BY statement completes the program,
creates a listing report that is grouped
by Id, and completes without errors?
A.
by Id;
B.
by Id grouped;
C.
by Id descending;
D.
by descending Id;
没报错呀
[code:2tml8xzz]data temp(index=(id));
input Id $ Amount;
datalines;
P 52
P 45
A 13
A 56
R 34
R 12
R 78
;
proc print data=work.temp;
by id;
run; [/code:2tml8xzz]