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 > ERwin. I don't know how I can relation this 2 tables :(

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-04, 18:27
Deflorator Deflorator is offline
Registered User
 
Join Date: Feb 2004
Posts: 9
ERwin. I don't know how I can relation this 2 tables :(

Table 1
a+b+c -PK
Table 2
a+b+d - PK
How I can relation this tables with use (a+b)?
ps
Sorry for my english
Reply With Quote
  #2 (permalink)  
Old 03-25-04, 21:23
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
I would create a parent table with A and B as elements of its primary key. I would create table 1 as a dependant child of the parent with C as part of its PK, and table 2 as a dependant child of the parent with D as part of its Pk.

-PatP
Reply With Quote
  #3 (permalink)  
Old 03-26-04, 04:30
cybershadow_jp cybershadow_jp is offline
Registered User
 
Join Date: Dec 2003
Location: Tokyo Japan
Posts: 26
yes... do look for the possibility that when designing databases, the physical model doesn't necessary follow from the logical model...

in some cases, a mapping/relation/linking table (as shown by Pat) is necessary in the physical model [to fulfill the relation requirements in the logical model]

cheers!
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