MySQL Forums
Forum List  »  MySQL Workbench

Re: Creating relationships to tables?
Posted by: Cristian Scutaru
Date: September 11, 2016 01:51PM

A relationship requires to set some table columns as primary keys. They should uniquely identify each record within that table.

Now, you can "propagate" these key(s) into another table, as foreign keys. A copy of the matching key values must be made in the other table.

The relationship is the link created between the primary and foreign keys.

Options: ReplyQuote


Subject
Views
Written By
Posted
1199
August 21, 2016 09:37PM
Re: Creating relationships to tables?
506
September 11, 2016 01:51PM


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.