update tb1 set col1 = tb2.col1
from 
tb1,
tb2 
where tb1.id= tb2.id and tb1.name = tb2.name
影响行数为 2980行
而我查询
select * from 
tb1,
tb2 
where tb1.id= tb2.id and tb1.name = tb2.name
 这句为什么是 5000多行。
而更新的语句只影响 2000多行呢