Re: grouping subsets

From: Tim Landscheidt <tim(at)tim-landscheidt(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: grouping subsets
Date: 2010-07-22 14:18:34
Message-ID: m3iq47txad.fsf@passepartout.tim-landscheidt.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Rainer Stengele <rainer(dot)stengele(at)diplan(dot)de> wrote:

> yes, the date is always incremented - but anyway the date
> column is not really the point! Actually the first tow
> columns are relevant. I want them gouped together as
> indicated, adding up column 1 in the blocks with identical
> second column, but not adding up over all the rows.
> [...]

If the date column wasn't relevant, how would you group the
first two columns?

Tim

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Wes Devauld 2010-07-22 15:50:38 Re: Aggregates (last/first) not behaving
Previous Message Rainer Stengele 2010-07-22 13:25:34 Re: grouping subsets