MySQL Forums
Forum List  »  MySQL Workbench

How can I set relationship with two table comuns that are different names
Posted by: Antony Paul
Date: July 17, 2013 03:22PM

Hi,

I have a problem with ERR Diagram. I have opened my existing database in MySQl Workbench for creating ERR Diagram. I have a problem with setting relationship with tables. I have used different names in different tables. So now in ERR I can't set relationship with these fields.

For eg:

Table 'Person' fields [pid, name, age, sex] 'pid' is primary field
Table 'Address' fields [id, personid, address1,address2,street,city]

In Address table, 'personid' is used to connect with person table.

How can I set realtionship with these fields?

Thanks,
Antony.

Options: ReplyQuote


Subject
Views
Written By
Posted
How can I set relationship with two table comuns that are different names
968
July 17, 2013 03:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.