Concept Flow - LEFT JOIN and RIGHT JOIN
Start with Table A
Join with Table B
LEFT JOIN: Keep all rows from A
Match rows from B or NULL if no match
RIGHT JOIN: Keep all rows from B
Match rows from A or NULL if no match
Result Table with combined rows
LEFT JOIN keeps all rows from the left table and matches rows from the right table or fills NULL if no match. RIGHT JOIN keeps all rows from the right table and matches rows from the left table or fills NULL if no match.