SAS_Institute
A00-211 · Question #136
The SAS data sets WORK.EMPLOYEE and WORK.SALARY are shown below: WORK.EMPLOYEE WORK.SALARY fname age name salary Bruce 30 Bruce 25000 Dan 40 Bruce 35000 Dan 25000 The following SAS program is…
The correct answer is D. merge work.employee. See the full explanation below for the reasoning.
Question
The SAS data sets WORK.EMPLOYEE and WORK.SALARY are shown below:
WORK.EMPLOYEE WORK.SALARY fname age name salary Bruce 30 Bruce 25000 Dan 40 Bruce 35000 Dan 25000 The following SAS program is submitted:
data work.empdata; by fname; totsal + salary; run; Which one of the following statements completes the merge of the two data sets by the FNAME variable?
Options
- Amerge work.employee
- Bmerge work.employee
- Cmerge work.employee
- Dmerge work.employee
How the community answered
(33 responses)- A6% (2)
- B15% (5)
- C3% (1)
- D76% (25)
Community Discussion
No community discussion yet for this question.