Gradient LabSign up free

Home / GATE DA / 2026 / Q.42

GATE DA 2026, Q.42: Output of a selection over two natural joins

DatabasesRelational algebra joins2 marksMCQ

The question

X(P, Q, R) = {(P1, Q1, R1), (P2, Q2, R2), (P3, Q3, R2)}. Y(P, Q, S) = {(P1, Q1, 2), (P1, Q2, 5), (P2, Q1, 6), (P3, Q3, 1)}. Z(P, T) = {(P1, T1), (P3, T2), (P4, T3), (P4, NULL)}. Evaluate π_{P,R,S}[(σ_{Q=Q3 ∨ R=R2}(X ⨝ Y)) ⨝ (σ_{S>1}(Y ⨝ Z))].

Checking your access…

Source: official GATE DA 2026 question paper and answer key (IIT Guwahati). The question is lightly reworded; every number and option is kept.