GATE DA 2024 Q26: Relational algebra check that every team name is a player
- Database Management and Warehousing
- 1 mark
- MCQ
- −1/3 if wrong
Question
Consider a database that includes the following relations:
Defender(name, rating, side, goals)
Forward(name, rating, assists, goals)
Team(name, club, price)
Which ONE of the following relational algebra expressions checks that every name occurring in Team appears in either Defender or Forward, where denotes the empty set?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: C (official GATE 2024 final answer key)
Concept used: Set containment in relational algebra: exactly when .
First step: "Appears in either Defender or Forward" is the union of the two name sets; Team's names must be contained in it.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2024 DA question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key
More Database Management and Warehousing PYQs
- 2026 · Q17Candidate keys from functional dependencies
- 2026 · Q18OLAP operation from Country to State
- 2026 · Q26Operations that never violate a foreign key
- 2026 · Q32Order of a B+ tree non-leaf node
- 2026 · Q41B+ tree root after inserting 3
- 2026 · Q42Output of a relational algebra expression with natural joins