DBMS 10 Transforming_Entity_Relationship_Model_IntoTables
DBMS 10 Transforming_Entity_Relationship_Model_IntoTables
Auer
Database Processing:
Fundamentals, Design, and Implementation
Chapter Six:
Transforming Data Models
into
Database Designs
Chapter Objectives
• To understand how to transform data models into
database designs
• To be able to identify primary keys and understand when
to use a surrogate key
• To understand the use of referential integrity constraints
• To understand the use of referential integrity actions
• To be able to represent ID-dependent, 1:1, 1:N, and N:M
relationships as tables
• To be able to represent weak entities as tables
Primary key is
designated by
the key symbol
Note
shadowless
table
• An intersection table
– Holds the relationships between two strong entities in
an N:M relationship
– Contains only the primary keys of the two entities:
• As a composite primary key
• As foreign keys
• An association table
– Has all the characteristics of an intersection table
– PLUS it has one or more columns of attributes
specific to the associations of the other two entities
• DEPARTMENT is parent,
EMPLOYEE is child.
• The relationship is O-M.
• Use documentation based
on Figure 6-29(b)—see the
next slide.
End of Presentation:
Chapter Six