Concept Flow - How the join engine matches rows
Start with Table A row
Compare join key with Table B rows
Match found?
No→Move to next Table B row
|Yes
Output combined row
More Table B rows?
Yes→Compare next Table B row
|No
More Table A rows?
Yes→Next Table A row
|No
End
The join engine takes each row from the first table and compares its join key to each row in the second table. When keys match, it outputs the combined row. It repeats this until all rows are processed.