Re: "Inverting" a table, OLAP-style

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pacquet(at)newsguy(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: "Inverting" a table, OLAP-style
Date: 2002-09-16 14:55:32
Message-ID: 27213.1032188132@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

pacquet(at)newsguy(dot)com writes:
> ... I know we could use Pivot Tables in
> Excel, or otherwise do it on the client, but the highest-leverage solution
> would be to present this abstraction in the server.

Joe Conway's contrib/tablefunc module (new for 7.3) has a "crosstab"
facility that I think might do what you want. Perhaps you'd like to
snag a 7.3 beta copy and try it out.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2002-09-16 15:03:26 Re: does table names have a format and size
Previous Message Ries van Twisk 2002-09-16 14:51:23 Dublicates pairs in a table.