Professional Documents
Culture Documents
Multi valued attribute is taken to another relation; primary key is composite primary
key of the original table and the multi value attribute (EmployeeID, skill)
Map weak entities
• Weak entity Becomes a separate relation with a
foreign key taken from the superior entity
• Primary key composed of:
– Partial identifier of weak entity
– Primary key of identifying relation (strong entity)
Mapping weak entity
Mapping Binary Relationships
– One-to-Many - Primary key on the one side
becomes a foreign key on the many side
– Many-to-Many - Create a new relation with
the primary keys of the two entities as its
primary key
– One-to-One - Primary key on the mandatory
side becomes a foreign key on the optional side
Mapping one to many
Mapping Many to Many relationship
Mapping one to one relationship
Mapping Associative Entities
– Identifier Not Assigned
• Default primary key for the association
relation is composed of the primary keys of
the two entities (as in M:N relationship)
– Identifier Assigned
It is natural and familiar to end-users
Default identifier may not be unique
Logical Relational model
• The logical model of the database will
represent all relations and their attributes
including the interconnection between them.
• The model will also indicate different types of
keys so that they can easily converted into a
working model.