From: Michael Glaesemann <grzm@myrealbox.com>
To: Dok, D. van <d.vandok@ecn.nl>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: Crosstable query
Date: Mon, 22 Dec 2003 16:32:32 -0600
Message-ID: <BB7424EA-34CE-11D8-AB87-000A95C88220@myrealbox.com> (raw)
In-Reply-To: <92D6AAE888CED411A16A00508BB0B8270525489E@ecntex.ENERGY.ad.intra>
References: <92D6AAE888CED411A16A00508BB0B8270525489E@ecntex.ENERGY.ad.intra>
On Dec 19, 2003, at 8:41 AM, Dok, D. van wrote:
> MS Access has a 'TRANSFORM' function to do this, which transposes the
> data
> along a pivot.
You'll probably want to look at Joe Conway's tablefunc. It's in
contrib. It's included in 7.4; I'm not sure about 7.3.4, but you can
add it if it's not.
Hope this helps.
Michael Glaesemann
grzm myrealbox 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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: grzm@myrealbox.com, d.vandok@ecn.nl
Subject: Re: Crosstable query
In-Reply-To: <BB7424EA-34CE-11D8-AB87-000A95C88220@myrealbox.com>
References: <92D6AAE888CED411A16A00508BB0B8270525489E@ecntex.ENERGY.ad.intra> <BB7424EA-34CE-11D8-AB87-000A95C88220@myrealbox.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