Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comparing 3 tables and listing the unmatched

Status
Not open for further replies.

sdollen

Technical User
Oct 12, 2002
24
US
Sounds very strange, huh?? I think it is.

I have a table with city names (tblMunicipality). I have a contact table where we list cities that we visit for work purposes(tblContacts). (The city is our client so to speak). I have a third table where we list the city and the conference they attend and that we see them at(tblAttendees).

All of these are related by the City name.

How can I create a query that lists all cities on tblMunicipality where "MunicipalityName" does not match "MunicipalityName" on tblContacts AND tblAttendees?

This should give me the results of every city that has not had a contact AND not attended a conference.

Does that make sense? I'm confusing myself ;)

THanks for any help!

-Stefan


 
You should be able to accomplish this using left joins and looking for null.
see find unmatched queries in Access
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top