By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,027 Members | 1,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,027 IT Pros & Developers. It's quick & easy.

Trying to query a table for only that which is NOT contained in another table

P: 2
Greetings. Sorry if this sounds pretty basic, but I'm having some issues with the following...

We have an e-mail list of ~2M, contained in a table. Via some marketing efforts, we've determined that about 170K of these e-mails are responsive, contained in another table.

We're interested in looking at the other 1.83M e-mails to study why they haven't been responsive, especially since many are active customers.

How do I query (in MS Access) to get a table with the 1.83M?

Thanks!
Nov 29 '06 #1
Share this Question
Share on Google+
1 Reply


MMcCarthy
Expert Mod 10K+
P: 14,534
Greetings. Sorry if this sounds pretty basic, but I'm having some issues with the following...

We have an e-mail list of ~2M, contained in a table. Via some marketing efforts, we've determined that about 170K of these e-mails are responsive, contained in another table.

We're interested in looking at the other 1.83M e-mails to study why they haven't been responsive, especially since many are active customers.

How do I query (in MS Access) to get a table with the 1.83M?

Thanks!
Table1 is the table with the 2M and Table2 is the table with the 170K.

Expand|Select|Wrap|Line Numbers
  1.  
  2. SELECT Table1.email 
  3. FROM Table1 LEFT JOIN Table2
  4. On Table1.email = Table2.email
  5. WHERE Table2.email Is null;
  6.  
Nov 30 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.