Re: Denormalizing during select

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Jeff Boes <jboes(at)nexcerpt(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Denormalizing during select
Date: 2003-02-24 22:33:49
Message-ID: 200302241433.49502.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Jeff,

> > I have two tables (A and B) in a one-to-many relationship. When
> > retrieving data from one table (A), I need to denormalize the tables
> > during a select so that values of a column in the many table (B) appear
> > as a list in one field of the output.
>
> Well, the straightforward way to do this would be with a function:

Can you post the start of this thread? I think there's a more efficient way
using custom aggregates, but somhow I never received the original question.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message James Cooper 2003-02-24 22:38:59 indexing
Previous Message James Cooper 2003-02-24 20:38:28 indexing