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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query to find records which dont exist in another table

Status
Not open for further replies.

tommyboyau

Programmer
Feb 7, 2005
47
AU
Hi guys.
This is the scenario. I have a query which has run and was sucessful. It isolted the 'matters' which had a variable associated with them called ClientNumber. I have done a SELECT INTO statement which has outputed my results into a table called QueryOutput.
So in my QueryOutput table I have a list of MatterNumbers (ID's essentially).
Now I would like to genereate a list of the MatterNumbers which DONT appear in the QueryOutput table. That is to say, lets say I have 100 main matter records. 20 of those match my early query with the client number variable.
I was to make a query now which will only return the other 80.
Thanks in advance,
Tommy
 
tommyboyau
One query is a "find unmatched" query wizard. Can you use that?

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top