LEFT JOIN

Поиск
Список
Период
Сортировка
От Antti Linno
Тема LEFT JOIN
Дата
Msg-id Pine.LNX.4.04.10007041506580.27952-100000@all.ee
обсуждение исходный текст
Список pgsql-sql
Greetings.I have a problem. I have 2 tables. E.g. work and workers. I want to
select records, that 1st table has, and the second hasn't(both have id
attribute). I mean I can't do it with is NULL, because those records don't
exist. I was shown, how it is done with mysql

select first.id,second.id_first 
from first left join second on
id=id_first where id_first is NULL;

but when I tried it in psql, it said, not implemented.

Antti




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: case insensitive search
Следующее
От: "Gerhard Dieringer"
Дата:
Сообщение: Antw: LEFT JOIN