Re: right join problem

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: right join problem
Дата
Msg-id 20091002063606.GC22496@a-kretschmer.de
обсуждение исходный текст
Ответ на right join problem  (Greenhorn <user.postgresql@gmail.com>)
Список pgsql-sql
In response to Greenhorn :
> >
> > Use a left join instead?
> Hi,
> Yes, but when i use a where clause on my query it only selects joined
> records.  :(
> Thanks.

Please, answer to the list and not directly to me.

The WHERE-Clause works after the JOIN - so your select contains (without
the WHERE) all rows.

Maybe i don't understand you, can you show a simple example with data?


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: right join problem
Следующее
От: Andreas
Дата:
Сообщение: Re: Need magic for a moving statistic