I have two tables:
person
id
name
car
name
person_id
Currently the query goes like:
SELECT
person.name
car.name
FROM
person, car
WHERE
person.id = car.person_id
Now this works fine if there is a car associated with a person. However if there isn't, then the person won't get returned. If a person has no car, I want to return a row with the text 'No Car'
in column car.name
.