Data Abstraction Layers
3 different ways of modeling data in a domain
SAME: entities and relationships
DIFFERENCE: purposes, audiences
Entity Relation Diagram (ERD)
Entity relationship diagram (ERD) represents a detailed picture of the entities needed for a business. Can be conceptual, logical and physical.
external model
the end-users’ view of the data (needs)
tools for external modeling
tools for conceptual modeling
Conceptual models
information gathered from business requirements
efficiency and effectiveness is not considered yet
Logical ER model
Physical ER model
It represents how data should be structured and related in a specific DBMS
Besides, database designers may also add primary keys, foreign keys and constraints to the design which were not evident in the logical design