M
Matthew
I have two tables. I would like to create a query that selects everything
from [sub] and only those records from [contact] where the joined fields are
equal.
This works:
SELECT sub.*, contact.*, contact.email
FROM sub LEFT JOIN contact ON sub.ID = contact.sub
The trick I have is, I want to limit the records returned from contact:
WHERE (((contact.email)='somebody'));
However, I still want all the records from sub.
Any ideas how this could be done?
Matthew
from [sub] and only those records from [contact] where the joined fields are
equal.
This works:
SELECT sub.*, contact.*, contact.email
FROM sub LEFT JOIN contact ON sub.ID = contact.sub
The trick I have is, I want to limit the records returned from contact:
WHERE (((contact.email)='somebody'));
However, I still want all the records from sub.
Any ideas how this could be done?
Matthew