Entity Relationship Model 2
Entity Relationship Model 2
MODEL
OUTLINE
Basics of ERD
Entities
Attributes
Relationships
Mapping constrains
Keys
Case studies
BASICS OF ERD
Entities are real world concepts from the solution space or problem
domain.
They are represented by means of rectangles. Rectangles are named
with the entity set they represent.
An entity can be a person, place, event, or object that is relevant to a
given system. For example, a school system may include students,
teachers, major courses, subjects, fees, and other items.
A weak entity is an entity that depends on the existence of another
entity. In more technical terms it can be defined as an entity that cannot
be identified by its own attributes.
It uses a foreign key combined with its attributed to form the primary
key. An entity like order item is a good example for this.
ATTRIBUTES