Solved

Find Matching Email Addresses, Between Two Tables

Posted on 2013-01-07
3
270 Views
Last Modified: 2013-01-16
Hello Experts!

I have two tables in my Database.

Tables - Blast1 & Blast2

Each table has two columns - ID & Email

I would like to run a query, that will display matching email addresses.

Example:

Blast1:

            ID                Email
             1                jamesdoe@doe.com
             2                jenny@lynn.com
             3                moth@draft.com

Blast2:

            ID                Email
             1                jamesdoe@doe.com
             2                sammy@beach.com
             3                bopp@math.com

Query - (should return only one record, based on the example tables above)

Only one email address in the example is present in both tables.

                                     Email
                            jamesdoe@doe.com


Thank you in advance for your help!

~ Geekamo
0
Comment
Question by:Geekamo
3 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 38752073
SELECT b1.Email
FROM Blast1 b1 INNER JOIN Blast2 b2 ON b1.Email = b2.Email
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 38752076
create a query with a join on field [Email]
0
 
LVL 1

Author Comment

by:Geekamo
ID: 38785642
@ matthewspatrick,

Great, Thank you!

~ Geekamo
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now