pegaso22, usa la modalità avanzata per trovare il tasto #
con quello puoi racchiudere il codice in maniera che rimanga leggibile
:
codice:
select distinct email,settore,data,attiva from
(select t1.email from email t1 join tabella2 t2 on t1.email=t2.email
union select t1.email from email t1 join tabella3 t3 on t1.email=t3.email
union select t1.email from email t1 join tabella4 t4 on t1.email=t4.email)
T0 LIMIT 0, 25000
codice:
select * distinct email
(select t1.email from email t1 join tabella2 t2 on t1.email=t2.email
union select t1.email from email t1 join tabella3 t3 on t1.email=t3.email
union select t1.email from email t1 join tabella4 t4 on t1.email=t4.email)
T0 LIMIT 0, 25000