Professional Documents
Culture Documents
Business Rules are statements that define or constrain some aspect of the business; derived from
policies, procedures, events, functions; assert business structure; Control/influence business behavior;
Are expressed in terms familiar to end users; Are automated through DBMS software
Tasks:
Source: https://www.vertabelo.com/blog/crow-s-foot-notation/
2. Explain and draw the symbols used in Chen’s Notation and Barker’s Notation in terms of the
entity – diagram notation
CHEN`S NOTATION
Entities
An entity is represented by a rectangle which contains the entity’s name.
Weak entity – an entity that cannot be uniquely identified by its attributes alone. The
existence of a weak entity is dependent upon another entity called the owner entity.
The weak entity’s identifier is a combination of the identifier of the owner entity and the
partial key of the weak entity.
Attributes
In the Chen notation, each attribute is represented by an oval containing attribute’s
name:
Entity – is represented by a rounded corner rectangle. The entity name should be in the
upper part of rectangle and in singular form.
Optionality of a relationship
It’s important to note that only binary relationships are allowed in a Barker notation.
Degree of relationships:
One or more employees may work in each department; each employeer must work in
one department.
UID bar
A bar “|” across one end of a relationship line indicates that the relationship is a
component of the primary identifier for the entity type at that end.
Each individual UID Bar in the ORDER ITEM represents the fact that the foreign key
represented by the relationship is also a primary key of the ORDER entity.
Barker’s ERD notation – a relationship with UID bars
Non-Transferability of Relationships
In certain situations, once a relationship is set it can never change. For example, BOOK
and CHAPTER in the example below. Chapter can’t be moved to a different book. We
call this the non-transferability of a relationship and it is represented by a rhombus.