Dear Friends,
I have two databases with the same name and table structure but the content
is different, I need to synchronize them i mean the data inside one database
need to be updated with the other one leaving the etries which are similar.
Let me give a single example:

DB1:table1
Rows like : userid  name
Ist row           1       abhishek
IInd row          2       jain
III row             3       rahul



DB2:table1
Rows like : userid  name
Ist row           1       abhishek
IInd row          2       amitabh
III row             3       vijay

Now i want  like :
Rows like : userid  name
Ist row           1       abhishek
IInd row          2       jain
III row             3       rahul
IV row             4       amitabh
V row               5      vijay

NOTE: Here DB1 = database names , table1 = table name .
How can i do that via mysql or that i need to prepare a script for this can
anyone help.
Regards,
Abhishek Jain

Reply via email to