Which of the following are the valid relational algebra operations in database?
(A). Union
(B). Cartesian Product
(C). Referential Integrity
(D). Projection
Which of the following are the valid relational algebra operations in database?
(A). Union
(B). Cartesian Product
(C). Referential Integrity
(D). Projection
Solution
Union, Cartesian Product and Projection are all standard relational algebra operations. Union combines tuples of two compatible relations, Cartesian Product pairs every tuple of one relation with every tuple of another, and Projection selects specific columns.
Referential Integrity is not an operation. It is a constraint stating that a foreign key value must match an existing primary key value in the referenced table, or be null.
Option 3 and Option 4: Referential Integrity is a constraint on data, not an operation that produces a relation, so it cannot be included.
Option 2: Projection is a basic relational algebra operation, so leaving it out is wrong.
The core operations to remember are Select, Project, Union, Set Difference, Cartesian Product and Rename.
Related questions:
2026: 23 May Shift 2
2025: 16 May Shift 1
2026: 23 May Shift 2
2025: 16 May Shift 1