By admin | September 16, 2009

SAS Certified Base Programmer 123 Questions (53)

The SAS data set EMPLOYEE_INFO is listed below:

IDNumber Expenses
2542     100.00
3612     133.15
2198     234.34
2198     111.12

The following SAS program is submitted:

proc sort data = employee_info;
    <insert BY statement here>
run;

Which one of the following BY statements completes the program and sorts the data sequentially by descending expense values within each descending IDNUMBER value?

A. by descending IDNumber Expenses;
B. by (IDNumber Expenses) descending;
C. by IDNumber descending Expenses descending;
D. by descending IDNumber descending Expenses;

One comment | Add One

  1. admin - 09/16/2009 at 12:24 pm

    D

Leave a Comment

Leave a Reply

Your email address will not be published.