Re: right join problem - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: right join problem
Date
Msg-id 20091002063606.GC22496@a-kretschmer.de
Whole thread Raw
In response to right join problem  (Greenhorn <user.postgresql@gmail.com>)
List 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 by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: right join problem
Next
From: Andreas
Date:
Subject: Re: Need magic for a moving statistic