Mysql e' fermo ad UNION. Niente INTERSECT, manco nelle rel. 5
Fai due queries oppure prova con una tabella temporanea. Qualcosa del genere:
codice:create temporary table temp select * from schede_agenzie where stato = 'a'; insert into temp select * from schede persone where stato = 'a'; select * from temp;![]()

Rispondi quotando