A semi join starts with a left table and a right table.
left input and right input
Read both tables
The left table has 5 rows; the right table has 4 rows.
left rows=5
Semi-join examples are tiny finite-table transforms; SQL dialect completeness, type coercion, optimizer behavior, execution cost, indexing, and database-product claims are out of scope.
Left rows are the output shape
A semi join only outputs columns from the left table.
left columns only
Summary
The right table is used to answer whether a match exists.