Skip to main contentSkip to solution

Identify the relational algebra operation denoted by :

Course X Student;

where 'Course' and 'Student' are two relations and X is an operation.

Solution

✅ Correct Option: 3

The symbol X between two relations denotes the Cartesian Product (cross product). It pairs every tuple of Course with every tuple of Student, so the result has all the attributes of both relations and m×nm \times n tuples if the relations have mm and nn tuples.


Union, Set Difference and Intersection: these need union-compatible relations (same number and type of attributes) and are written ∪\cup, −- and ∩\cap, not X.

Memory trick: Cartesian Product is the only one of these that combines the attributes of both relations, so it works even when Course and Student have different structures.

Keyboard Shortcuts

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