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

From: "Ben" <reply(at)to-the-newsgroup(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Repost: Syntax - or unavailability of same - for variable join??? Can anyone help?
Date: 2004-02-17 08:48:39
Message-ID: 9ba7344abeb44deb320264e02bb68da1@news.teranews.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'll have a look at that; thank you very much for taking the time to reply. :)

Ben

On Mon, 16 Feb 2004 22:03:22 -0800, Greg Patnude wrote:

> You might have better success with the form of HAVING and appropriate use of
> OR IS NULL as opposed to strict JOIN and WHERE conditions...
>
> Similar to...
>
> SELECT A.a, B.b, C.c FROM A, B, C
> HAVING (A.b = B.b OR B.b IS NULL)
> GROUP BY A.b;

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Antonios Christofides 2004-02-17 08:56:09 Re: Cascade delete triggers change user credentials
Previous Message Brendan Jurd 2004-02-17 08:20:23 psql, 7.4, and the \d command