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 по дате отправления: