From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Josh Berkus <josh@agliodbs.com>
To: Aasmund Midttun Godal <postgresql@envisity.com>
Cc: jeremy@wundt.psychiatry.uiowa.edu
Cc: pgsql-sql@postgresql.org
Subject: Re: transposing data for a view
Date: Thu, 1 Nov 2001 08:22:05 -0800 (PST)
Message-ID: <20011101162205.3088.qmail@web20807.mail.yahoo.com> (raw)
In-Reply-To: <web-496664@davinci.ethosmedia.com>
Josh,
I don't see how you got the result you quote below.
My query sums the volume figures, grouping by scanid:
that worked as expected (one line per scanid) on my
system when I tested it (version 7.1.2, though I don't
think that matters).
Jeff
--- Josh Berkus <josh@agliodbs.com> wrote:
> Of couse, it's only *half* a solution. Your query
> will result in:
>
> scanid A_volume B_volume C_volume
> 1 34.5
> 1 55.1
> 1 12.3
> 2 11.1
> etc.
>
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jeff_eckermann@yahoo.com, josh@agliodbs.com, postgresql@envisity.com, jeremy@wundt.psychiatry.uiowa.edu
Subject: Re: transposing data for a view
In-Reply-To: <20011101162205.3088.qmail@web20807.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox