Skip to main contentSkip to solution

Which among the following operations combines tuples from the two relations on specified conditions?

Solution

✅ Correct Option: 3

Join combines tuples from two relations based on a specified condition (such as equality of a common attribute). Only the tuples that satisfy the condition appear in the result, with the attributes of both relations side by side.


Option 2: Cartesian product also pairs tuples from two relations, but it pairs every tuple with every other tuple and applies no condition. A join is a Cartesian product followed by a selection on the condition.

Options 1 and 4: Union and Intersection need both relations to have the same attributes (union compatible). They combine or compare whole tuples, not match them on a condition.

Keyboard Shortcuts

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