Re: joining a table whose name is stored in the primary record

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: joining a table whose name is stored in the primary record
Date: 2007-06-17 15:54:41
Message-ID: 20070617155441.GB13671@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sun, Jun 17, 2007 at 04:39:51AM -0400, John Gunther wrote:
> functions and using subqueries without success. I think I need someone
> to point me in the right conceptual direction.

Well, the right SQL-esque conceptual direction is not to have
different tables at all. That's not a very normal-form thing to do,
because the data has been broken into pieces dependent on the data
itself, rather than the kind of data it is.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism.
--Brad Holland

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jeff Frost 2007-06-18 05:16:36 separating improperly grouped page views
Previous Message Andreas Kretschmer 2007-06-17 12:06:46 Re: joining a table whose name is stored in the primary record