From: Christian Anton <christiananton@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Link many attributes in one table to one attribute in another??
Date: Wed, 27 Jun 2001 23:44:34 -0500
Message-ID: <3b3ab3aa_1@newsa.ev1.net> (raw)
Hello all,
I am fairly new at db design, I have built a few simple in the past and have
never dealt with this type of problem before, any help would be appreciated.
I have three attributes in one table that should reference one, and only
one, attribute in another table. Here's an analogy of the problem:
I have a table with a list of marbles, each marble has three colors in it
(color1, color2, color3) and a serial number. In another table I have eight
colors to choose from but the list of colors grows regularly.
How do I associate a marble with three colors from the color table (a marble
may have three red sides or red-yellow-blue)?
Thanks,
Christian
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: christiananton@hotmail.com
Subject: Re: Link many attributes in one table to one attribute in another??
In-Reply-To: <3b3ab3aa_1@newsa.ev1.net>
* 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