Re: Using aggregate functions .. (a BUG?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank Miles <fpm(at)u(dot)washington(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Using aggregate functions .. (a BUG?)
Date: 2002-10-25 21:04:04
Message-ID: 12367.1035579844@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Frank Miles <fpm(at)u(dot)washington(dot)edu> writes:
> SELECT INTO rec sum(qty),id AS asum,id FROM dummyTable WHERE id= xid GROUP BY id;
^^^^^^^^^^
> RETURN rec.asum;

This is returning id.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Johnson, Shaunn 2002-10-25 21:24:06 Re: lpad question
Previous Message DeJuan Jackson 2002-10-25 20:55:40 7.2.3 and MD5 checksum