Linked by snydeq on Mon 1st Aug 2011 14:30 UTC
Thread beginning with comment 483052
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
I'm not sure I understand your question. If your goal is to compare the data in two MySQL tables, you do not need to load the data into Excel first. Just google on "how to compare MySQL tables" and you'll find many example SQL statements to do this.
Here's one approach --
select * from table a where a.common not in (select b.common from table b where a.common = b.common)
then switch up the tables in the query and you can check each table.





Member since:
2010-08-06
while sql tools is the topic let me be so forward and ask someone advice.
I must want to write a small exel program for increased productivity that involve comparing two pairs of tables of product codes and prices. Mainly to indentify new added products, deleted products and price changes.
My first hurdle. Opening a sql database in excel with tables set out.
I google'd it but cant seem find the right info.
When downloading your sql backup (.sql.gz format)from your server and unzipping it how do I get it into excel format. I did open it by changing the format to .csv but the it don,t show it in table format like it exist inside sql.