Re: SELECT statement not working as intended

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SELECT statement not working as intended
Date: 2011-10-10 22:43:51
Message-ID: alpine.LNX.2.00.1110101543020.11484@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 10 Oct 2011, Merlin Moncure wrote:

> remove the sample_date the group by and the select list. by having it in
> there you are asking for the max for each specific sample date.

merlin,

That tells me the max quant but not on what date. Do I write a nested
SELECT to get that, too?

Thanks,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2011-10-10 22:45:34 Re: SELECT statement not working as intended
Previous Message Henry Drexler 2011-10-10 22:25:46 Re: SELECT statement not working as intended