Skip to main contentSkip to solution

Which of the following are the valid relational algebra operations in database?

(A). Union

(B). Cartesian Product

(C). Referential Integrity

(D). Projection

Solution

✅ Correct Option: 1

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.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question