__________operation is used to get common tuples from two relations.
__________operation is used to get common tuples from two relations.
Solution
Intersection returns only the tuples that appear in both relations. Written as , it keeps the rows common to and . Both relations must be union-compatible, meaning they have the same number of attributes with matching domains.
Union: returns all tuples present in either relation, with duplicates removed, not just the common ones.
Minus: returns tuples in the first relation that are not in the second, so it gives the difference rather than the common part.
Cartesian product: pairs every tuple of one relation with every tuple of the other, so it does not look for common tuples at all.
Related questions:
2026: 31 May Shift 1
2025: 20 May Shift 1