MySQL Forums
Forum List  »  Newbie

Compare two tables
Posted by: adi mans
Date: January 10, 2012 02:03PM

Hi Everybody,
I have a question and hope someone will give me a good idea of how to do it
I have two tables in my DB
both have the same colums - id and name
I want to compare the two and that the results will be only the values that aren't in both tables according to id.

In your answer note that the tables have 50,000 and 70,000 values and join the two takes forever.

Ideas will be appreciate.


Options: ReplyQuote

Written By
Compare two tables
January 10, 2012 02:03PM
January 10, 2012 02:51PM
January 12, 2012 08:24PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.