0% found this document useful (0 votes)
30 views4 pages

Cardinalities in DB

Uploaded by

imran saeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views4 pages

Cardinalities in DB

Uploaded by

imran saeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CARDINALITY:

Maximum and Minimum Cardinality: (TYPES OF CARDINALITY)


a) Maximum Cardinality:
MAXIMUM Number of Instances (Record) of an entity class
B that can be associated with an Entity Class A and Vice
Versa.
b) Minimum Cardinality:
MINIMUM Number of Instances (Record) of an entity class
B than can be associated with an Entity Class A and Vice
Versa.

Types of Cardinality
On the basis of minimum Cardinality we describe types of
Cardinalities.

a) Optional Cardinality
If minimum Cardinality is ZERO then it is known as
OPTIONAL Cardinality.

i) Optional-One Cardinality:
If Minimum = 0 and Maximum = 1

ii) Optional-Many Cardinality:


If Minimum = 0 and Maximum = Many

Optional -One

Optional –Many
b) Mandatory Cardinality
If minimum Cardinality is ONE then it is known as
Mandatory Cardinality.

i) Mandatory-One Cardinality:
If Minimum = 1 and Maximum = 1

ii) Mandatory-Many Cardinality:


If Minimum = One and Maximum = Many

You might also like