What are common SQL join types and when do you use them?
Inner joins return matches, outer joins preserve unmatched rows from one or both sides depending on the type.
- INNER for only matches
- LEFT when you need all left rows
- FULL when you need everything from both sides
What are common SQL join types and when do you use them?