--1、插入: insert into B select 字段1,字段2,。。。。。。 from A where not exists(select 1 from B where A.字段1=B.字段1 and A.字段2=B.字段2。。。。。。) --2、更新: update B set B.字段1 = A.字段1, B.字段2 = A.字段2,。。。。。。 from A where A.字段1 = B.字段1 and A.字段2 = B.字段2。。。。。。
2,495
社区成员
88,444
社区内容
加载中
试试用AI创作助手写篇文章吧