批量更新和插入
tabel a 和 tabel b
将table b中的字段更新到 table a中
UPDATE way_dimes_grproll AS a INNER JOIN way_biz_customer AS b ON a.customer_id =b.customer_id SET a.member_id =b.member_id, a.user_id =b.user_id;
批量插入
INSERT INTO Table2(field1,field2,...) SELECT value1,value2,... FROM Table1
困难是老天给我们提高的机会,坚定不移勇敢地去攻克,不要退缩,加油!
posted on 2013-07-26 11:31 天地一连线_孤鸿挂飘渺 阅读(200) 评论(0) 编辑 收藏 举报