Home >>
MySql >> How to update a column with another tables columns value in MySql
How to update a column with another tables columns value in MySql
UPDATE `product` LEFT JOIN (SELECT `item_id`,`price` FROM `item`) `temptable` ON `product`.`item_id`=`temptable`.`item_id` SET `product`.`price`=`temptable`.`price`
Post Your Comment