I want to join two tables but I want the result set to only show matches that arent in the right side.
Example:
LeftTable
- leftID | PK
- value |
RightTable
- rightID |PK
leftID |FK
select l.value
from LeftTable l
join RightTable r
on l.leftID = r.leftID
I know this wont give me what I want, but I am just trying to find out which items in the left table DO NOT appear in the right side byusing the leftID foreign key relationship.
Any ideas?