INNER JOIN
INNER JOIN: only matching pairs
What changes
- Input
- two input rowsets
- Output or change
- joined rowset
Syntax at a glance
table_source [ INNER ] JOIN table_source ON search_condition
Work example
A report needs only rows whose join key appears in both sources.
Check key uniqueness and count matches before joining. Add one unmatched key to confirm it is removed.
Check your work INNER JOIN. Only matching keys remain and duplicate keys produce the expected number of joined rows.
Open Microsoft Learn for full syntax, permissions, and details for your version.