SyntaxFix
Write A Post
Hire A Developer
Questions
UPDATE table1 SET `ID` = (SELECT table2.id FROM table2 WHERE table1.`name`=table2.`name`)