Re: extend "group by" to include "empty relations" ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: extend "group by" to include "empty relations" ?
Дата
Msg-id 21414.1197584257@sss.pgh.pa.us
обсуждение исходный текст
Ответ на extend "group by" to include "empty relations" ?  (peter pilsl <pilsl@goldfisch.at>)
Список pgsql-general
peter pilsl <pilsl@goldfisch.at> writes:
> But there is a problem now: There are also entries in fn_kat which dont
> have corresponding entries in fn_dokumente and this entries should be
> listed too. With the proper count=0 !!

> How to achieve this?

LEFT JOIN before the group by?

            regards, tom lane

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Better alternative for Primary Key then serial??
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Hash join in 8.3