i have data where i have to compare nd replace with different tables
This is like master table
this is reference table
At first stage it should compare data in table_1 with data in tabke_2 and replace the branch in table 1 with table 2 branch. after that, the result should also compare with tabl_3 and replace the branch with referal_branch.