Re: having trouble w/ having clause...

Поиск
Список
Период
Сортировка
От Wolfgang.Fuertbauer@ebewe.com
Тема Re: having trouble w/ having clause...
Дата
Msg-id OF83111100.01FEDB23-ONC1256BB8.0024281D@ebewe.co.at
обсуждение исходный текст
Ответ на having trouble w/ having clause...  (Mike Diehl <jdiehl@sandia.gov>)
Список 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 по дате отправления:

Предыдущее
От: "Rajesh Kumar Mallah."
Дата:
Сообщение: Re: Further info : Very high load average but no cpu utilization ?
Следующее
От: Wolfgang.Fuertbauer@ebewe.com
Дата:
Сообщение: Re: Migrating from 7.1 to 7.2