simple linking question - Mailing list pgsql-general

From Jeremy Hansen
Subject simple linking question
Date
Msg-id Pine.LNX.4.30.0107190138520.15551-100000@srv1.ecropolis.com
Whole thread Raw
List pgsql-general
I'm trying to do some more advanced things in sql to make my tables more
efficient.  I'd like to do a link, or perhaps it's a join, although
everything I've looked at relating to a join makes me think that it's not
what I'm looking for.

What I would like to do is have a field in a table retrieve its data from
a field in another table.  The idea is not to have duplicated information
in two different tables.  Is this possible to do with postgres?  I studied
join selects, but it seems this method requires that information be
duplicated in a third table.  I want to avoid duplicating data.

Or is this just stupid?

Thanks for any help or pointers to documentation.

-jeremy

--
salad.




pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: RPM source files should be in CVS (was Re: psql -l)
Next
From: Justin Clift
Date:
Subject: Re: simple linking question