Query to select records in one table NOT in another

D

David Trowbridge

I have two tables, A and B. They have a common
field "email". I want to write a select query that lists
all the records in table B with email values that do NOT
appear in table A.

Suggestions?

Thank you very much.

David Trowbridge
 
D

David Trowbridge

Perfect!

Just what I needed.

Thanks, Arvi
-----Original Message-----
Hi

Select * From B Where email Not In (Select email From A)

Arvi Laanemets





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top