MySQL Forums :: Newbie :: Compare two tables


Advanced Search

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.

thanks

Options: ReplyQuote


Subject Written By Posted
Compare two tables adi mans 01/10/2012 02:03PM
Re: Compare two tables Peter Brawley 01/10/2012 02:51PM
Re: Compare two tables Rick James 01/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.