select a.name
from perso a
left join employee b on a.person_id=b.person_id
left join customer c on a.person_id=c.person_id
where b.person_id is null and c.person_id is null
------解决方案-------------------- select * from person where employee <> ... and customer <> ....
------解决方案--------------------