Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6111039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:35:06+00:00 2026-05-23T14:35:06+00:00

We have two mailing lists that we need to combine, and then make sure

  • 0

We have two mailing lists that we need to combine, and then

  1. make sure there are no duplicates
    and
  2. compare against a 3rd list (the unsubscribe list) and remove any names that are on that list.

I’ve tried

SELECT DISTINCT * 
  FROM [table1.EmailAddress FROM table1 union all 
        SELECT table2.Emailaddress FROM table2]. AS [email]; 

which works fine for the 1st problem. I then tried to add

where not exist (select table3.emailaddress from table3) 

to that select query, to no avail…
We’re using access 2000 ( no we won’t upgrade);
The all tables have other fields, none of which match any other tables.
Even the emailaddress fields have non matching cases…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:35:06+00:00Added an answer on May 23, 2026 at 2:35 pm
    select distinct email
    from (
        select Email
        from Table1
        union all
        select Email
        from Table2
    )x
    where not exists(
        select * from table3 t3 where t3.Email=x.Email
    )
    

    If you have a case sensitive DB just LOWER() all the email columns.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two lists of the same type. That type does not have an
I have two applications written in Java that communicate with each other using XML
I have two arrays of System.Data.DataRow objects which I want to compare. The rows
I have two identical tables and need to copy rows from table to another.
I have a SQL Server table that contains postal addresses. In preparation for mailing,
I have two BizTalk 2010 servers that belong to the same BizTalk group. They
I have two tables one Employee and mailing Subscriptions Employee looks like this: Name
Have two variables both containing integers: var input; var value; Need to perform arithmetic
I have two DataGridViews that have the same column schema (although two different DataViews
I have two databases I need to work with, one oracle on a remote

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.