Re: [HACKERS] group by problem

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] group by problem
Дата
Msg-id 199802201916.OAA06993@candle.pha.pa.us
обсуждение исходный текст
Ответ на group by problem  (Shiby Thomas <sthomas@cise.ufl.edu>)
Список pgsql-hackers
>
> Hi,
>
> I get the foll. error for a group by query:
> This is with the snapshot of Feb 20, and I am running on sparc-solaris 2.6
>
> insert into FTemp1 select item as item1, count(*) as cnt from data group by
> item;
> ERROR:  The field being grouped by must appear in the target list
>
> Thanks
> --shiby

Say:

group by item1.



--
Bruce Momjian
maillist@candle.pha.pa.us

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: AW: [HACKERS] triggers, views and rules (not instead)
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: [HACKERS] Who is everyone?