日期:2014-05-17 浏览次数:20544 次
trucate table b insert into b select * fro a
------解决方案--------------------
insert b select a.* from a left join b on a.key=b.key where b.key is null
------解决方案--------------------
insert B select * from A where not exists(select 1 from B where a.x=b.x)