If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Subtypes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-16-03, 14:21
RDCD RDCD is offline
Registered User
 
Join Date: Sep 2003
Posts: 12
Subtypes

Please help with my table layout for donors. A donor can be an individual or an organization. If the donor is an individual, the donor record needs to include standard name and address attributes (home and work), and spouse name. If the donor is an organization, the donor record should include organization name, primary contact name and address attributes, and alternate contact name and address attributes. I have the possibility of 2 contact types for donor organization and 2 address types for donor individual.

I created a table for donors with the shared attributes of donor_id (PK), donor_division_code (FK), donor_status_code (FK), and donor_notes. These are the only attributes common to the subtypes, organizations and individuals. Donor_notes is the only non-key field. Organizations and individuals are subset tables of donors and will have the same PK as donors. Is it reasonable to have a supertype, donors, with only one non-key field?

The subset table, organizations, has a one to many relationship with contacts since there can be multiple contacts for a single organization. Can a subset table be related this way? The subset table for individuals does not have a relationship to contacts.

RDCD
Attached Files
File Type: pdf donor_model_1016.pdf (35.7 KB, 84 views)
__________________
Nonprofit Access User
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On