可以用另一表的数据更新当前表。
UPDATE items as a,month as b SET a.price=b.price
WHERE a.id=b.id;
可以用另一表的数据更新当前表。
UPDATE items as a,month as b SET a.price=b.price
WHERE a.id=b.id;
By C1G – 2007/06/18
关注互联网、网页设计、Web开发、服务器运维优化、项目管理、网站运营、网站安全…
Proudly powered by WordPress and Carrington.
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.