Consider two relations with the tuples and .
Assume that is the full natural outer join of and . Consider the following tuples of the form
Which one of the following statements is correct?
GATE CSE 2015Databases › Relational Algebra & CalculusVerified
(C) R R R contains e , f , g e, f, g e , f , g but not a , b a, b a , b .
Compute the full natural outer join of R1(A,B) and R2(A,C) on the common attribute A. Include matched tuples once, and pad unmatched tuples from either relation with NULLs in the other relation's attributes.
The full natural outer join on A preserves all tuples from both relations: matching tuples are combined, and non-matching tuples are NULL-padded. This yields exactly e, f, and g, matching option C.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.