Mysql中常用双表批量更新、一对多查询
1、UPDATE 表1 a, 表2 b SET a.字段1 = b.字段1, a.字段2 = b.字段2 WHERE 条件1例:update income_invoice_profit_center a,income_invoice_collection o set a.profit_center_id = o.profit_center_id,a.profit_cen...
原创
2018-10-22 16:21:00 ·
1952 阅读 ·
0 评论