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 > Database Server Software > MySQL > database design --> working database question

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-09, 16:07
dustout dustout is offline
Registered User
 
Join Date: Jan 2009
Posts: 3
database design --> working database question

How do i create a table in mysql that is dependant on another table but can be one of 3 different tables but not belong to either of the others

in all honesty the way i described it was terribly worded, however this image describes what i am wanting to do fairly clearly.
http://img406.imageshack.us/img406/9732/testvh8.png

The d was added from mspaint, i remember them from my database design class but now i fear that mysql does not support them and i'll have to make some major design changes
Reply With Quote
  #2 (permalink)  
Old 01-07-09, 17:05
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Reply With Quote
  #3 (permalink)  
Old 01-07-09, 17:11
dustout dustout is offline
Registered User
 
Join Date: Jan 2009
Posts: 3
Quote:
Originally Posted by dportas
that looks like exactly what i am looking for, thanks
Reply With Quote
Reply

Thread Tools
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