- or download this
SELECT pt.surname, pt.town
FROM (
...
where people.person_id = town.person_id (+)
) pt
WHERE pt.town <> 'Washington' AND pt.town IS NOT NULL
- or download this
insert into people (
person_id, surname
) values (
5, 'Drifter'
)
- or download this
SELECT people.surname, t1.town
FROM (
...
) t1,
people
WHERE people.person_id = t1.person_id (+)