Which of the following statements selects from a data set only those observations for which the value of the variable Style is RANCH, SPLIT, or TWOSTORY?

  1. a.where style='RANCH' or 'SPLIT' or 'TWOSTORY';

  2. a.where style in 'RANCH' or 'SPLIT' or 'TWOSTORY';

  3. a.where style in (RANCH, SPLIT, TWOSTORY);

  4. a.where style in ('RANCH','SPLIT','TWOSTORY');


Correct Option: D

Find more quizzes: