Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 22

Participation Constraints

Participation Constraints

Participation constraints define the least


number of relationship instances in which
an entity must compulsorily participate.
Types of Participation Constraints
Total Participation
Total Participation
Partial Participation
Partial Participation
Types Of Entity
An entity refers to any object having-

Either a physical existence such as a particular person,


office, house or car.

Or a conceptual existence such as a school, a


university, a company or a job.
Types Of Entity
An entity refers to any object having-

Either a physical existence such as a particular person,


office, house or car.

Or a conceptual existence such as a school, a


university, a company or a job.
Types Of Entity
Strong Entity Set
A strong entity set is an entity set that contains
sufficient attributes to uniquely identify all its entities.

 Inother words, a primary key exists for a strong entity


set.

 Primarykey of a strong entity set is represented by


underlining it.
Strong Entity Set
Strong Entity Set
Weak Entity Set
 A weak entity is an entity that depends on the existence of
another entity. In more technical terms it can defined as an
entity that cannot be identified by its own attributes

 A weak entity set is an entity set that does not contain sufficient
attributes to uniquely identify its entities.

 In other words, a primary key does not exist for a weak entity
set.

 However, it contains a partial key called as a discriminator.

 Discriminator can identify a group of entities from the entity set.

 Discriminator is represented by underlining with a dashed line.


Weak Entity Set

The order item will be meaningless without an order


so it depends on the existence of order
Weak Entity Set
Weak Entity Set
Weak Entity Set
Weak Entity Set
Differences between Strong entity set
and Weak entity set
Symbols in the ERD

You might also like