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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: data modeling question - child table with multiple parents

Re: data modeling question - child table with multiple parents

From: Greg Moore <sqlgreg_at_pacbell.net>
Date: Wed, 31 Jul 2002 13:13:46 -0800
Message-ID: <F001.004A8093.20020731131346@fatcity.com>


> model a child table that has multiple
> parent tables

Consider reversing it. Model one parent (ADDRESS) and two child (CUST, EMP). Parent is super-type that has the attributes common to both, e.g., name, address, city. Children have attributes unique to them, e.g., CUST has sales_rep_id, cust_code, EMP has manager_id, etc.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Greg Moore
  INET: sqlgreg_at_pacbell.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jul 31 2002 - 16:13:46 CDT

Original text of this message

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