Re: grouping subsets - Mailing list pgsql-sql

From Tim Landscheidt
Subject Re: grouping subsets
Date
Msg-id m3iq47txad.fsf@passepartout.tim-landscheidt.de
Whole thread Raw
In response to grouping subsets  (Rainer Stengele <rainer.stengele@diplan.de>)
List pgsql-sql
Rainer Stengele <rainer.stengele@diplan.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



pgsql-sql by date:

Previous
From: Rainer Stengele
Date:
Subject: Re: grouping subsets
Next
From: Wes Devauld
Date:
Subject: Re: Aggregates (last/first) not behaving