Quote Originariamente inviata da optime Visualizza il messaggio
gli esempi sono molto ben fatti, cosa non ti è chiaro? prova a postare una tua query, che la si guarda
select MIN(numero) as numero_postale from
(SELECT MIN(numero) as numero_postale from posta p where p.persona='3'
UNION
SELECT MIN(numero) as numero_postale from postaP p1 where p1.persona ='3' )
order by indirizzo limit 1 T