Question:30

ThefollowingSASprogramissubmitted:

datawork.flights;

destination='CPH';

select(destination);

when('LHR')city='London';

when('CPH')city='Copenhagen';

otherwise;

end;

run;

WhichoneofthefollowingisthevalueoftheCITYvariable?

1.London

2.Get all Questions and Answer from here

3.You need to have paid subscription to access all questions

4.Thanks for considering Python Certification Material

CorrectAnswer:2

NoticethattheLENGTHstatementintheSELECTgrouphasnotbeenspecified.RememberthatwithouttheLENGTHstatement,valuesforGroupmightbetruncated,asthefirstvaluefor

You can access to full explanation to question and answer from this page.