Aug 6, 2004 #1 matpj Technical User Mar 28, 2001 687 GB I have a table with a load of fields - one being 'Project ID'. another table I have is a project tabe, also containing 'Project ID' I want to be able to write a query that tells me which Project ID's in table 1 are NOT in table 2. how can this be achieve????
I have a table with a load of fields - one being 'Project ID'. another table I have is a project tabe, also containing 'Project ID' I want to be able to write a query that tells me which Project ID's in table 1 are NOT in table 2. how can this be achieve????
Aug 6, 2004 1 #2 lespaul Programmer Feb 4, 2002 7,083 US One solution: SELECT * FROM TABLE1 WHERE PROJECTID NOT IN (SELECT PROJECTID FROM TABLE2) Leslie Upvote 0 Downvote
Aug 6, 2004 Thread starter #3 matpj Technical User Mar 28, 2001 687 GB hmmm, why didn't I think of that.... Upvote 0 Downvote
Aug 6, 2004 #4 lespaul Programmer Feb 4, 2002 7,083 US probably that forest ~ tree thing! thanks for the star les Upvote 0 Downvote