Utilisez la jointure gauche pour déterminer les personnes sans véhicule
Select distinct People.id
From People
LEFT JOIN Vehicles on People.id=Vehicles.person_id
where Vehicles.person_id is NULL
Utilisez la jointure gauche pour déterminer les personnes sans véhicule
Select distinct People.id
From People
LEFT JOIN Vehicles on People.id=Vehicles.person_id
where Vehicles.person_id is NULL