select id=identity(int,1,1),* into #t1 from 表一
select id=identity(int,1,1),* into #t2 from 表二select a.字段1,a.字段2,b.字段3,b.字段4 
into 表三
from #t1 a full join #t2 b on a.id=b.id
drop table #t1,#t2