I have two tables in my database, table1 and table2. They are identical. But sometimes i change the data in table1.
How do i copy the data from table1 and update table2 to look the same?
I tried "REPLACE INTO table2 SELECT * FROM table1" but it works like INSERT and just make new rows instead of updating the existing ones.