Cardinality in DBMS
Cardinality in DBMS
What is Cardinality?
Cardinality helps us identify the uniqueness of the data in
database columns. Here Low cardinality denotes that there are a lot of
redundancies (repeated values) in columns. High cardinality denotes that
there are a lot of unique values in columns.
Many-to-Many Cardinality(m:m)
In Many-to-Many cardinality, multiple occurrences in an entity set can relate
to multiple occurrences of another entity set. In other words, an entity in set
A can link to any number of entities in set B while an entity in set B can link to
any number of entities in set A.
Symbols in Crow’s Foot Notation and Their Meaning
• One of the most important terms to know when using crow's foot
notation is cardinality.
• Cardinality acts as a parameter for the relationship between entities.
For one entity, there is a minimum and maximum number that helps
define its relationship with another entity.
Here are the symbols associated with the crow's foot notation:
The diagram shows a horizontal line with short vertical lines crossing it. The
vertical line acts as the indicator – it denotes one.
The diagram above denotes many. You can easily remember this symbol
because it looks like a crow's foot.
COMBINATION
Assumptions