Re: NOT HAVING clause? - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: NOT HAVING clause?
Date
Msg-id 44549108-9F40-49B6-8F8C-3F4109034A54@myrealbox.com
Whole thread Raw
In response to NOT HAVING clause?  (Alban Hertroys <alban@magproductions.nl>)
Responses Re: NOT HAVING clause?  (Alban Hertroys <alban@magproductions.nl>)
List pgsql-general
On Jan 24, 2006, at 20:00 , Alban Hertroys wrote:

> Though this does give the right results, I would have liked to be
> able to use NOT HAVING. Or is there a way using HAVING that would
> give the same results? I'm quite sure HAVING sort_order <> 1
> doesn't mean the same thing.

Why are you so sure? It seems to me that NOT HAVING sort_order = 1
and HAVING sort_order <> 1 would mean semantically the same thing.
Can you show that HAVING sort_order <> 1 gives incorrect results?

Michael Glaesemann
grzm myrealbox com




pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: NOT HAVING clause?
Next
From: Pandurangan R S
Date:
Subject: Re: NOT HAVING clause?