Re: find the "missing" rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: find the "missing" rows
Дата
Msg-id 28993.1101952391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на find the "missing" rows  ("Kevin B." <db@ke5in.com>)
Список pgsql-sql
"Kevin B." <db@ke5in.com> writes:
> Select a.i, b.i
> from t as a
> left join t as b on a.i = b.i
> where a.n = 'a' and b.n = 'b' and b.i is null

This can't succeed since the b.n = 'b' condition is guaranteed to fail
when b.* is nulled out ...
        regards, tom lane


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

Предыдущее
От: Johan Henselmans
Дата:
Сообщение: Re: grouping a many to many relation set
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Found Large Files.. what objects are they?