I have two tables table_A & table_B fields are
Table_A
id Name Code phone
----------------------------------
1 ABC 101
2 BCA 102
3 ABC 101
Table_B
id Phone code
---------------------------
1 987 101
2 548 102
3 887 103
I need to update phone
field in Table_A by taking the value from Table_B. I can do this with php loop
but this table have huge data. more time needed for this. is there any simple query to update this?