I have table A and table B. Both of them have the same fields. If Table B has new data, I would like do complete update on Table A from Table B. It’s complete replacement. or clone the data from Table B to table A
So, I have the sql as followed.
sql="update `table A` select * from `table B`"
I executed that but it didn’t give me the right result.
what should be the right sql?
If you want to create a copy of table B, you can do this with