SAS_Institute
A00-211 · Question #88
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; run; Which…
The correct answer is D. by descending IDNumber descending Expenses. See the full explanation below for the reasoning.
Question
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; 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?
Options
- Aby descending IDNumber Expenses;
- Bby (IDNumber Expenses) descending;
- Cby IDNumber descending Expenses descending;
- Dby descending IDNumber descending Expenses;
How the community answered
(44 responses)- A7% (3)
- B5% (2)
- C16% (7)
- D73% (32)
Community Discussion
No community discussion yet for this question.