Re: Repost: Syntax - or unavailability of same - for variable join??? Can anyone help?

Поиск
Список
Период
Сортировка
От Ben
Тема Re: Repost: Syntax - or unavailability of same - for variable join??? Can anyone help?
Дата
Msg-id 43b5f620037079804508c73e0e4e1579@news.teranews.com
обсуждение исходный текст
Список pgsql-general
As it turns out, LEFT OUTER JOIN does exactly what I want.

I'm not sure what my original problem was now, though I suspect it was
part of the "where" clause depending on the right side of the join.

So for anyone who might find this thread in a search for this kind of
behaviour, just use LEFT OUTER JOIN. You get the left columns, plus the
right ones where there are records, and NULL for the right columns where
there are no records.

HAVING and GROUP BY have nothing to do with this behaviour, and will lead
you down a dead-end.

Ben

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

Предыдущее
От: Rob Bochenek
Дата:
Сообщение: Is there a variant/anytype datatype in postgresql?
Следующее
От: "Simon Windsor"
Дата:
Сообщение: md5 calls