pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: Ali Adams <aliadams@doit4u.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: help yourself by helping others
Date: 10 Jul 2003 13:47:37 +0000
Message-ID: <1057844856.46100.134.camel@jester> (raw)
In-Reply-To: <001c01c2fa9b$5b91ec80$03000000@DELLPC>
References: <001c01c2fa9b$5b91ec80$03000000@DELLPC>

On Fri, 2003-04-04 at 11:10, Ali Adams wrote:
> Dear All,
>  
> I am new to Relational Databases and SQL and my background in ODBs is
> clouding my way to solving what seems to be a simple problem. I am
> sure many of you have met it many times.

You need to use a pivot table.

Specifically, see crosstab() within contrib/tablefunc in the source
base.

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (8+ messages)  latest in thread

Message-ID: <1057844856.46100.134.camel@jester>
Permalink:  ../1057844856.46100.134.camel@jester/
Also on:    postgresql.org/message-id/1057844856.46100.134.camel@jester

 · 

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: rbt@rbt.ca, aliadams@doit4u.com
  Subject: Re: help yourself by helping others
  In-Reply-To: <1057844856.46100.134.camel@jester>

* 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