Er DIA
Er DIA
medical doctors Associate with every patient a log of the several tests and
examinations conducted.
Ans:
Hotel ER Diagram
symbol Name Description
These ER diagram symbols can be paired in different ways to depict the overall
cardinality in our database. In these diagrams, the inner component depicts a minimum
while the outer component depicts a maximum value.
One to One
This is also known as a Mandatory One relationship in which one entity of set A can be
associated with a maximum of one entity of set B. For instance, one student can
register for several courses, but all the courses can only have a single registered user.
One to Many
In this, one entity of set A can be associated with multiple entities of set B. If you
consider a class, then one class can have multiple students enrolled. It is also known as
an Optional One cardinality.
Many to One
This means that many entities of Set A can be associated with at most one entity of Set
B. For example, many students can belong to the same class.
Many to Many
Lastly, in this cardinality, more than one entity of Set A can be associated with more
than one entity of Set B. For instance, several students in a class can be allocated to
multiple faculty members.
Source: Guru99