Question:

Which of the following is a semi join?

Show Hint

A semi join reduces data transfer costs in distributed databases by sending only the joining attributes, improving efficiency.
Updated On: Feb 6, 2025
  • Only the joining attributes are sent from one site to another and then all of the rows are returned
  • All of the attributes are sent from one site to another and then only the required rows are returned
  • Only the joining attributes are sent from one site to another and then only the required rows are returned
  • All of the attributes are sent from one site to another and then only the required rows are returned
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation


Step 1:
Understanding Semi Join
A semi join is a join operation that transfers only the joining attributes between two relations rather than all attributes. This reduces the communication cost in distributed databases.
Step 2:
Evaluating the Options
- (A) Incorrect: In a semi join, only the required rows are returned, not all rows.
- (B) Incorrect: Sending all attributes increases overhead, violating the goal of a semi join.
- (C) Correct: The semi join only transfers the joining attributes and then retrieves only the required rows.
- (D) Incorrect: This describes a regular join rather than a semi join.
Was this answer helpful?
0
0