Re: We are not following the spec for HAVING without GROUP - Mailing list pgsql-hackers

From Manfred Koizar
Subject Re: We are not following the spec for HAVING without GROUP
Date
Msg-id 1h1b31d9if4586q25g19iobm43e89sn6nq@email.aon.at
Whole thread Raw
In response to Re: We are not following the spec for HAVING without GROUP  (Mark Kirkwood <markir@coretech.co.nz>)
List pgsql-hackers
On Fri, 11 Mar 2005 10:37:13 +1300, Mark Kirkwood
<markir@coretech.co.nz> wrote:
>Firebird 1.5.1 FreeBSD 5.3
>[correct results]

Interbase 6.0:
SQL> create table tab (col integer);
SQL> select 1 from tab having 1=0;
SQL> select 1 from tab having 1=1;


============
          0        <-------    :-)

SQL> insert into tab values(1);
SQL> insert into tab values(2);
SQL> select 1 from tab having 1=0;
SQL> select 1 from tab having 1=1;


============
          1

SQL>

ServusManfred


pgsql-hackers by date:

Previous
From: pgsql@mohawksoft.com
Date:
Subject: Re: signed short fd
Next
From: Dennis Bjorklund
Date:
Subject: Re: [BUGS] We are not following the spec for HAVING without