You can update row using joins in MYSQL as follows :
update TABLE_1 join TABLE_2 on TABLE_1.id=TABLE_2.user_id SET TABLE_1.name =”Test” where TABLE_2.user_id=’12’ ;
You can update row using joins in MYSQL as follows :
update TABLE_1 join TABLE_2 on TABLE_1.id=TABLE_2.user_id SET TABLE_1.name =”Test” where TABLE_2.user_id=’12’ ;