Tuple Calculus questions

Q59

GATE DA 2026 DARelational Query LanguagesNAT2 marks

Report a problem with Q59

What is wrong?
Let there be two relations XX and YY as shown. XX has three columns PP, QQ and RR. YY has two columns PP and SS.

XX
PPQQRR
P1Q1R1
P2Q2R2
P3Q3R2
YY
PPSS
P110
P115
P220
P31
Consider that the following tuple relational calculus expression is evaluated.
{t∣t∈X⋀∃z∈X(t[P]=z[P])⋀∃m∈Y(m[P]=t[P]⋀m[S]>1)}\{t \mid t \in X \bigwedge \exists z \in X(t[P] = z[P]) \bigwedge \exists m \in Y (m[P] = t[P] \bigwedge m[S] > 1)\}
The number of tuples that will be returned is __________ . (Answer in integer)
Show answer without attempting

Loading the answer…

0/10 correct0 marks

Related topics in Relational Query Languages