Solved

Find Matching Email Addresses, Between Two Tables

Posted on 2013-01-07
3
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 120

Expert Comment

by:Rey Obrero (Capricorn1)
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: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

696 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