I have 4 tables need to update likewise ( need to update around 50 records in each table hence 50 update queries each):
table1:
id website_id other_column
1 14 33
2 12 90
3 56 51
....
same for table2, .....
Need to update website_id by other new website_id
for example: 14 need to replace with 67,
12 need to replace with 34 ,
56 need to replace with 92,
likewise....
Note: I have a data regarding which website_id need to replace with which new website_id.
Around 50 multiply by 4 = 200 update queries is not a feasible solution!
What is the feasible way other than executing multiple update queries?