Join Two Tables in ASP

Posted on 2005-02-25
Medium Priority
Last Modified: 2006-11-17
Ive got two tables that store customer details which have no relationship. so for example a customer may exist in the one database but not the other or he could exist in both. How could i join these databases and throw out only records that have duplicate email address

Thanks in advance
Question by:KeKiteley
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
LVL 20

Accepted Solution

jitganguly earned 668 total points
ID: 13404851
Select a.*,b.*
from mytab a, mytab1 b
where a.email in (select email from maytab1)
LVL 15

Assisted Solution

babuno5 earned 668 total points
ID: 13404953
select * from table1,table2 where table1.email = 'Your Email  ';

Assisted Solution

fozylet earned 664 total points
ID: 13405559
Select * from Table1
INNER JOIN Table2 ON Table1.email=Table2.email

Author Comment

ID: 14596509

sorry for the very delay

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 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