By admin | August 10, 2009

SAS Certified Adv Programmer 50 Questions (4)

Given the following SAS data sets One and Two:

One

Num Var1
1 A
1 A
2 B
3 C

Two

Num Var2
1 A
4 Y
4 Z

The following SAS program is submitted:

proc sql;
    select *
        from one
    except
    select *
        from two;
quit;

Which of the following reports is generated?

a.

Num
2
3

b.

Num Var1
2 B
3 C

c.

Num Var1
1 A
2 B
3 C

d.

Num Var2
1 A
4 Y
4 Z

3 comments | Add One

  1. admin - 08/10/2009 at 9:28 pm

    B

  2. Blaiso - 05/31/2013 at 8:57 pm

    B. unique rows from A that don`t exist on B

  3. chinawokee - 07/10/2014 at 1:56 pm

    table one uses var1
    table two uses var2

    does it matter?

Leave a Comment

Leave a Reply

Your email address will not be published.