GATE CS 2025 Set 1 | Question 39
Databases › Relational Algebra & TRC · MCQ · 2 marks · Answer: A
- Question 39Databasesmcq2 marksConsider two relations describing and : - - Which ONE of the following tuple relational calculus queries returns the name of the players who play for the team having as 'MI'?
- A.✓
- B.
- C.
- D.
Answer: A
Solution
Answer: (A) We want player names, so must range over (eliminating (B),(D)). We must link the player's team to a tuple named 'MI', which requires the join condition and . Option (C) drops the join , so it would return every player's name as long as some 'MI' team exists — wrong. Only (A) correctly joins the player to the 'MI' team. - A.
More GATE PYQ on Relational Algebra & TRC
All GATE CS Databases PYQ →Attempt GATE CS 2025 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →