如:t1中
taname tdq
a b
c b
dd d
t2中:
tname tdq
a b
cc b
dd d
则t1
tname tdq
a b
c b
cc b
dd d
如何做 ------解决方案-------------------- 试试
insert into t1 select * from t2 where not exists (select * from t1 where tname = t2.tname) ------解决方案-------------------- select * from t1 union select * from t2 ------解决方案--------------------