Professional Documents
Culture Documents
Entity Reletionship Modeling
Entity Reletionship Modeling
MODELLING
ENTITY:-
Any thing that has an independent existence and about which we collect data. It is also known as entity
type.
In ER modelling, notation for entity is given below.
Entity
• ENTITY TYPES
Attribute
TYPES OF ATTRIBUTES:-
(1) Simple attributes :-
Simple attributes which cannot be divided into subparts.
(5)Stored attributes:-
The simple attributes stored in database are called as stored attributes.
(6)Derived attributes:-
The value of this attributes which can be derived from the value of related stored attribute is called as derived
attributes.
(7)Null attribute:-
This attribute can take NULL value when entity does not have value for it.
(8)Key attributes:-
This is an attribute of an entity which must a unique value by which any row can be identified is called as key
attribute of entity
TYPE NOTATION
Attribute
(Simple/Single
valued/Stored)
Key attribute
Composite attribute
Relationship
Advantages and Disadvantages of ER Modelling(Merits and Demerits of ER Modelling)
Advantages
1. ER Modelling is simple and easily understandable. It is represented in business users language and it can be
understood by non-technical specialist.
2. Intuitive and helps in physical database creation.
3. Can be generalized and specialized based on needs.
4. Can help in database design.
5. Given a higher level description of the system.
Disadvantages
6. Physical design derived from E-R Model may have some amount of ambiguities or inconsistency.
7. Sometime diagrams may lead to misinterpretations