Professional Documents
Culture Documents
Logical Database Design and The Relational Model
Logical Database Design and The Relational Model
Primary Key
Foreign Key
(implements 1:N relationship
between customer and order)
Referential
integrity
constraints are
drawn via arrows
from dependent to
parent table
Referential
integrity
constraints are
implemented with
foreign key to
primary key
references
(a) CUSTOMER
entity type with
simple
attributes
(a) CUSTOMER
entity type with
composite
attribute
(a)
entity)
Foreign key
New
Foreign key
intersection
relation
(b) EMPLOYEE
relation with
recursive foreign
key
(a) Bill-of-materials
relationships (M:N)
Getting it into
Second Normal Form
Getting it into
Third Normal
Form
a) Relations with
enterprise key