Re: Foreign Key for multi PK or design question

From: Erik Jones <erik(at)myemma(dot)com>
To: PostgreSQL Admin <postgres(at)productivitymedia(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Foreign Key for multi PK or design question
Date: 2007-12-11 18:35:22
Message-ID: 7B8F0792-3CDE-4C9C-B4E3-50E550D769C5@myemma.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Dec 11, 2007, at 12:20 PM, PostgreSQL Admin wrote:

> I have a table in which people will have a number of questions to
> answer. I want those pk to be placed in my user table. So if a user
> answers three question I want those 3 pk's in the user table (fk).
> What should I be doing?

You're going to have to give a more concrete example of what it is
you're trying to do, i.e what those questions are, table structures,
etc.

Erik Jones

Software Developer | Emma®
erik(at)myemma(dot)com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message A. Kretschmer 2007-12-11 18:53:30 Re: Foreign Key for multi PK or design question
Previous Message PostgreSQL Admin 2007-12-11 18:20:52 Foreign Key for multi PK or design question