Академический Документы
Профессиональный Документы
Культура Документы
ON
“THE ENTITY RELATIONSHIP
DIAGRAM OF HEALTH CARE CENTRE
FOR STUDENTS, THE UNIVERSITY OF
BURDWAN”
SUBMITTED TO
FACULTY, R.K. GUPTA
CENTRE FOR MANAGEMENT STUDIES,
DEPARTMENT OF BUSINESS
ADMINISTRATION THE UNIVERSITY OF
BURDWAN.
SUBMITTED BY
BIPLAB ANKURI(ROLL-26),
PRADEEP KUMAR(ROLL-29)
MBA(GEN.)
2009-2011
Acknowledgements
2
INTRODUCTION
ENTITY-RELATIONSHIP MODEL
3
Generally E-R Diagrams require the use of the following symbols
• one-to-one,
• one-to-many,
• many-to-many.
One-to-One (1:1)
4
One to Many
(1:M), Many
to One (M:1)
A one-
to-many or a
many-to-one
relationship
between two
entities
indicates that
a single
occurrence of
one entity is
associated
with one or more occurrences of the related entity. The example
indicates that there is one Project Manager associated with each Project,
and that each Project Manager may be associated with more than one
Project.
5
A many-to-many relationship between two entities indicates that
either entity participating in the relationship may occur one or several
times. The example indicates that there may be more than one
Employee associated with each Project, and that each Employee may be
associated with more than one Project at a time. That is, projects may
share employees.
1. The important entities in this situation are the patients and doctors.
2. The diagram indicates that a doctor may admit many patients to the
hospital, and just one doctor admits each patient.
3. A doctor may treat many patients in the hospital, and a patient may
be treated by a number of different doctors while they are in the
hospital.
4. Details of the treatment (date, time and results) are recorded for
each treatment.
6
The following figure shows a sample entity relationship diagram
that represents the relationships between patients admitted to a
hospital and the doctors who treat them:
7
1. DOCTOR Doctor_ID, Doctor_ID
Specialty.
Relationships