Question
Consider a relational database schema with two relations and .
Let be a tuple relational calculus expression.
Which one of the following relational algebraic expressions is equivalent to ?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2026 answer key
Solution
Match the positions of variables in and with their respective attribute names.
In the tuple relational calculus expression :
- binds and .
- binds and .
- The shared variable enforces the join condition , and the output tuple projects attribute ().
Thus is equivalent to .
Final answer
Option (B)
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 43 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.