You are on page 1of 4

EntityRelationship Diagram For a Primary School

Assumptions for ERDiagram:


While drawing the ER diagram for primary school, we had some assumption which is as follows: 1. One teacher can teach multiple subjects

2. There is no elective /optional subject for any of the class in primary school. 3. In school, only one guardian name will be mentioned in database and hence it is oneto one relationship. 4. 5. One student cannot be associated with more than one class. Where as in one class, many number of student will be studying. One teacher can teach in several classes and in one class several teachers can teach different subjects and hence it is manyto many relationship. 6. One student can be thought by many teacher and viceversa is also acceptable and hence it is manytomany relationship 7. One student need to pay fee every month, so that one student need to pay fee several time 8. In entity student and teacher, age is derived attribute which can be derived by the date of birth. 9. Since guardian is not directly involved in the process of teaching in school we consider it as week entity

1|Page

EntityRelationship Diagram For a Primary School

Room_n o

mid_name

standard

Init_nam e

Last_name

section
Sectio n Phone no

clas s

date_of_birth

stud y N
address

nam e
age

Email

Studen t M has
Phone no

student_i d

M Teaches
Employee_i d Bill_n

1 clas s pa y 1 ha s N 1
sl_n o
Relationship

Subject

N
addre

ss Phone no

Teach er

o student_id

Email nam e
Init_nam e Last_name Date_of_payment

date_of_bir th

ag e

Fee_perio d

Fee datail

Guardia n

Phone no

Email name

mid_name

Init_name

Yea r

Mont h

Last_na me

mid_name

2|Pag e

You might also like