pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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



view thread (13+ messages)  latest in thread

Message-ID: <20011101162205.3088.qmail@web20807.mail.yahoo.com>
Permalink:  ../20011101162205.3088.qmail@web20807.mail.yahoo.com/
Also on:    postgresql.org/message-id/20011101162205.3088.qmail@web20807.mail.yahoo.com

 · 

reply

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