Re: Crosstab SQL Question - Mailing list pgsql-general

From Cary O'Brien
Subject Re: Crosstab SQL Question
Date
Msg-id 200006151216.IAA23743@saltmine.radix.net
Whole thread Raw
In response to Re: Crosstab SQL Question  (Ed Loehr <eloehr@austin.rr.com>)
Responses Re: Crosstab SQL Question  (Michael Meskes <meskes@postgresql.org>)
List pgsql-general
> > > Is it possible to perform a crosstab query in postgres similar the
> > > functionality that MS Access provides?
> > >
> > > I tried building the query in Access (against postgre 6.5.3 using ODBC)
> > > and using the SQL created by Access, but it looks like very non-standard
> > > SQL code and postgre doesn't support it.
> >
> > ...[gratuitous sarcasm snipped]...
> > you might want to describe what a crosstab query is...
>
> A crosstab is also known in MS Excel as a "pivot table", if that helps
> any.  It facilitates drag-and-drop data analysis by creating arbitrary
> 2-D matrices aggregated from data columns.  Very cool, and hard to
> adequately describe, as it makes some complex operations very simple, and
> I don't understand how it works underneath.  IMO, it is one of the most
> powerful data analysis tools in existence.  It would be neat to be able
> to do something similar in pgsql...
>

Applix has something called TM1 that does this.  They have a (ug)
flash demo and some more documentation at

    http://www.applix.com/itm1

It used to be available for Linux, but with the big reorg, who
knows.

-- cary

pgsql-general by date:

Previous
From: "Robert Deme"
Date:
Subject:
Next
From: Thomas Lockhart
Date:
Subject: Re: NOTICE: DateStyle is Postgres with Eropean convention