non ho capito un granchè, come al solito, anche perchè nel frattempo sto facendo altri lavoretti.

Comunque il primo modo (non efficiente con mysq) che mi viene in mente è questo

codice:
select * from tab where
(idtab1=80) and
(idtab2 in
(select idtab2 from tab
group by idtab2
having count(*)=1))