I have a question about what the book says the answer should be. It is Chapter 10 Quiz, Question 6. It goes as follows: Q: Suppose you merge data sets Cert.Set1 and Cert.Set2 below: Q: Which output does the following program create? I picked A but it says the correct answer is C, even though C has ID 1129 in Set2 but not Set1, so seems like it would not qualify for the "if in1 and in2" portion. [Included a pfd photo of the Data sets] data work.merged;
merge cert.set1(in=in1) cert.set2(in=in2);
by id;
if in1 and in2;
run;
proc print data=work.merged;
run;
... View more