Skip to content


mysql 多表更新

可以用另一表的数据更新当前表。
UPDATE items as a,month as b SET a.price=b.price
WHERE a.id=b.id;

Posted in Mysql, 技术.

Tagged with , .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.