SyntaxFix
Write A Post
Hire A Developer
Questions
This will surely work:
UPDATE table1 SET table1.price=(SELECT table2.price FROM table2 WHERE table2.id=table1.id AND table2.item=table1.item);