The following program is submitted:
data one;
set sashelp.prdsale; retain temp; by region descending salary;
if first.region then
do; temp=salary; output;
end;
if last.region then
do; range=salary-temp; output;
end;
run;
For each region, what is the number of observation(s) written to the output data set?
a. 0
b. 1
c. 2
d. 4
为什么这里答案是C呢,求高手帮忙解答一下!



雷达卡



京公网安备 11010802022788号







