Ciao a tutti,
Sto cercando di fare questa query ma non riesco a farla funzionare
SELECT email FROM tab1
UNION SELECT email FROM tab2
UNION SELECT email FROM tab3
where email
NOT IN
(SELECT email FROM tabA
UNION SELECT email FROM tabB
UNION SELECT email FROM tabC)
mi potete dire se sia corretto fare una cosa del genere e se sia giusta la sintassi
per il NOT IN che contiene delle UNION?
ciao