Professional Documents
Culture Documents
Outline
• Choosing Foreign Key • Design Code
or Relationship Entity • Table
• Physical Database • Database design
Design Model activities
• Symbols in Database
design Model
• Example of Physical
Database Design
Model
Choosing Foreign Key or
Relationship Entity
• Based on Relationship Type
One to One Both side Obligatory Combine the entity
Relationship Foreign Key
One side Obligatory
No side Obligatory Relationship Entity
Many side Foreign Key
One to Many Obligatory
Relationship Many side is not Relationship
Obligatory Entity
Many to Many
Relationship Always use Relationship Entity
Physical Database Design Model
Table = data
Index = the sequence of data in the table to be
retrieved or used
Symbols for physical database
design model
= Entity/table
= Connective line
= Foreign Key
= Index
The Next Physical Model is based on the following
A Conceptual E-R Model
O1
Customer 1O Customer Accts
Have
1
For
M
O
M M Inventory
Invoice Contain