Re: [GENERAL] GROUP BY problem with 6.5

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tamas Nyitrai <defiant(at)telnet(dot)hu>
Cc: PostgreSQL-General <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] GROUP BY problem with 6.5
Date: 1999-07-05 03:19:24
Message-ID: 199907050319.XAA22410@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I have a query which worked OK until now (with all the previous versions
> of PostgreSQL) but now it returns the following error message:
>
> 'Illegal use of aggregates or non-group column in target list'
>
> So what has been changed at GROUP BY in 6.5?
>
>

The target list can contain only aggregates(ie sum), or grouped by
columns.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ross J. Reedstrom 1999-07-05 03:42:57 Re: [GENERAL] GROUP BY problem with 6.5
Previous Message Albert Chen 1999-07-05 02:53:38 HELP! Date conversion problem.