查找b表中不在a表中的数据select * from #bexceptselect * from #a
查找a,b两个表的交集select * from #bintersectselect * from #a