tmp1 ?? tmp2 ??? insert?? delete??

non capisco perchè tutto sto casino invece di fare in un'unica query 2 select alla stessa tabella...


codice:
Tabella1 <- tuatabella

Select TabA.Quellochetipare, TabB.Qualcosaltrochetipare from (
	select Quellochetipare from Tabella1 where pippo > 5
	) TabA
LEFT JOIN (
	select Qualcosaltrochetipare from Tabella1 where pluto = 'Ciao' and Caio = 12
	) TabB
On TabA.Pippo = TabB.Caio