Consider two relations R1(A,B) with the tuples (1,5), (3,7) and R2(A,C) =…

GATE · 2015 · CS · Set 2 · Computer Science & IT

Consider two relations R1(A,B) with the tuples (1,5), (3,7) and R2(A,C) = (1,7), (4,9). Assume that R(A,B,C) is the full natural outer join of R1 and R2. Consider the following tuples of the form (A,B,C): aa = (1,5,nullnull), bb = (1,nullnull,7), cc = (3, nullnull, 9), dd = (4,7,nullnull), ee = (1,5,7), ff = (3,7,nullnull), gg = (4,nullnull,9). Which one of the following statements is correct?

  1. A.

    R contains a,b,e,f,ga, b, e, f, g  but not c,dc, d.

  2. B.

    R contains all of a,b,c,d,e,f,ga, b, c, d, e, f, g.

  3. C.

    R contains e,f,ge, f, g but not a,ba, b.

  4. D.

    R contains ee but not f,gf, g.

Attempted by 198 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…