-
批量插入
insert into a (a.字段1,a.字段2) (select b.字段1,b.字段2 from b where b表条件筛选)
-
批量更新
update a set(a.字段1,a.字段2)=(select b.字段1,b.字段2 from b where b表条件筛选) where a表条件筛选
条件子查询批量插入或更新表数据SQL语句脚本
最新推荐文章于 2022-07-12 17:05:36 发布
批量插入
insert into a (a.字段1,a.字段2) (select b.字段1,b.字段2 from b where b表条件筛选)
批量更新
update a set(a.字段1,a.字段2)=(select b.字段1,b.字段2 from b where b表条件筛选) where a表条件筛选