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!

Compare table 1 to table 2 and send results to query 1

Status
Not open for further replies.

JOD59

Technical User
Dec 17, 2003
39
US
I have 2 tables that have asset numbers. I want to compare the first table to the secound and get a list of the assets that do not match the second. Does anyone know how I would do this???
 
Code:
Select tbl1.*, tbl2.[asset] from tbl1 
left join tbl2 ON tbl1.[asset] = tbl2.[asset]
where (tbl2.[asset]) is null

OR just create a query with the Find Unmatched Query Wizard

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Thanks that did the trick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top