Ti ringrazio ma c'è qualcosa che non mi torna appena la trovo te la dico..Originariamente inviato da nicola75ss
codice:insert into tab3 (campo1,campo2) select tab1.campo1,tab1.campo2 from tab1 where tab1.id not in ( select tab2.id from tab2) union all select tab2.campo1,tab2.campo2 from tab2 where tab2.id not in ( select tab1.id from tab1)