All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · December 2023

Directions (Q96–100): Consider the relations X(S, Si, C) and Y(S, P, D):

X
SSiC
J1M
B2N
R3H
T4G
Y
SPD
JS1CA
BP1AB
RD1DC
AH1MD

Find the number of tuples obtained by applying the operation X ⟕X.S = Y.S Y (left outer join).

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. 4

Explanation

J, B and R match; T has no partner in Y and is kept with NULLs. Result: 4 tuples.

More Database Management Systems questions