Brug venstre join til at finde ud af personerne uden køretøjer
Select distinct People.id
From People
LEFT JOIN Vehicles on People.id=Vehicles.person_id
where Vehicles.person_id is NULL
Brug venstre join til at finde ud af personerne uden køretøjer
Select distinct People.id
From People
LEFT JOIN Vehicles on People.id=Vehicles.person_id
where Vehicles.person_id is NULL