i have 2 table that have joied via a key, now i want to UPDATE fields in 2 table, is there any way for updating 2 joined table?
i can do this by IN synatx like this:
Code:
UPDATE table 2 SET blabla='yes'
WHERE id IN (SELECT id FROM table1)
but in thousands of record, it cause hangin.