pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PostgreSQL Admin <postgres@productivitymedia.com>
To: pgsql-sql@postgresql.org
Subject: Foreign Key for multi PK or design question
Date: Tue, 11 Dec 2007 13:20:52 -0500
Message-ID: <475ED504.7080006@productivitymedia.com> (raw)
In-Reply-To: <863ECFDF04C8804ABDF3559D87F157C638E5D9@MAGPTCPEXC02.na.mag-ias.net>
References: <863ECFDF04C8804ABDF3559D87F157C638E5D9@MAGPTCPEXC02.na.mag-ias.net>

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?

Thanks in advance,
J



view thread (7+ messages)  latest in thread

Message-ID: <475ED504.7080006@productivitymedia.com>
Permalink:  ../475ED504.7080006@productivitymedia.com/
Also on:    postgresql.org/message-id/475ED504.7080006@productivitymedia.com

 · 

reply

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: postgres@productivitymedia.com
  Subject: Re: Foreign Key for multi PK or design question
  In-Reply-To: <475ED504.7080006@productivitymedia.com>

* 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