GATEverse Practice, past papers & mock tests
GATE 2026 · session-8
Database Management and WarehousingTuple CalculusmediumNAT2 marks
Let there be two relations \(X\) and \(Y\) as shown. \(X\) has three columns \(P\), \(Q\) and \(R\). \(Y\) has two columns \(P\) and \(S\). Relation X:
PQR
P1Q1R1
P2Q2R2
P3Q3R2
Relation Y:
PS
P110
P115
P220
P31
Consider that the following tuple relational calculus expression is evaluated. \[ \{t \mid t \in X \wedge \exists z \in X (t[P] = z[P]) \wedge \exists m \in Y (m[P] = t[P] \wedge m[S] > 1)\} \] The number of tuples that will be returned is _______. (Answer in integer)
Save your progress

Related Database Management and Warehousing PYQs