Re: having trouble w/ having clause... - Mailing list pgsql-sql

From Wolfgang.Fuertbauer@ebewe.com
Subject Re: having trouble w/ having clause...
Date
Msg-id OF83111100.01FEDB23-ONC1256BB8.0024281D@ebewe.co.at
Whole thread Raw
In response to having trouble w/ having clause...  (Mike Diehl <jdiehl@sandia.gov>)
List pgsql-sql
On 08.05.2002 22:58:59 pgsql-sql-owner wrote:
>Hi all,
>
>This is a simple question, but for the life of me, I can't see what is
wrong
>with this query:
>
>select host,slot,port,count(mac) as d from cam group by host,slot,port
having
>d>1;

try:
select host,slot,port,count(mac) as d from cam group by host,slot,port
having  count(mac) >1;
W

>
>I'm running 7.2.
>
>Thanx in advance,



pgsql-sql by date:

Previous
From: "Rajesh Kumar Mallah."
Date:
Subject: Re: Further info : Very high load average but no cpu utilization ?
Next
From: Wolfgang.Fuertbauer@ebewe.com
Date:
Subject: Re: Migrating from 7.1 to 7.2