Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> design question

design question

From: <vnr1995_at_gmail.com>
Date: 13 Dec 2006 08:15:18 -0800
Message-ID: <1166026518.651945.189310@t46g2000cwa.googlegroups.com>


I have a table: questions(question_id, content)

I am in the process of creating another table, titled as test, which should map a unique test id to multiple questions.

There are two possibilities to create this table:

  1. test(test_id, a set of question_ids); the set of questions is stored as a nested table.
  2. test(surrogate_key, test_id, question_id)

Which alternative is better? Or is there any other alternative that is better than the above two?

Thanks Received on Wed Dec 13 2006 - 10:15:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US