About this task
Consider as an example that your data model hold the following entities:
Agency, Agent and Region. You want
to link the two entities Agency and
Region together in order to represent that an
Agency belongs to a Region.
Consequently, Agency will have a new attribute that points to
To set a foreign key, do the following: