_________ results in all pairs of rows from the two input relations, regardless of whether they have the same values on common attributes.
_________ results in all pairs of rows from the two input relations, regardless of whether they have the same values on common attributes.
Solution
The Cartesian product of two relations pairs every row of the first relation with every row of the second, without checking any attribute values. If the relations have and rows, the result has rows.
Options 1, 3 and 4: INTERSECTION, UNION and MINUS are set operations that need union-compatible relations (same attributes). They compare whole rows, so they never form all possible pairs.
A join is the operation that keeps only the pairs with matching values on the common attributes. It is a Cartesian product followed by a selection.
Related questions:
2026: 24 May Shift 1
2025: 20 May Shift 1
2025: 20 May Shift 1