Assuming the PRICE ...
 
Notifications
Clear all

Assuming the PRICE variable is numeric, which one of the following PRINT procedure steps will select all desired observations?

1 Posts
1 Users
0 Likes
250 Views
(@tivisantwan)
Posts: 716
Noble Member
Topic starter
 

A realtor has two customers. One customer wants to view a list of homes selling for less than $60,000. The other customer wants to view a list of homes selling for greater than $100,000.

Assuming the PRICE variable is numeric, which one of the following PRINT procedure steps will select all desired observations?

  • A . proc print data = sasuser.houses;
    where price lt 60000;
    where price gt 100000;
    run;
    B. proc print data = sasuser.houses;
    where price lt 60000 or price gt 100000;
    run;
    C. proc print data = sasuser.houses;
    where price lt 60000 and price gt 100000;
    run;
    D. proc print data = sasuser.houses;
    where price lt 60000 or
    where price gt 100000;
    run;

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 16/02/2023 9:10 pm

Latest SAS Institute A00-211 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: