Sie sind auf Seite 1von 2

Entity‐Relationship Diagram For a Primary School 

Assumptions for ER­Diagram: 
 

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 one‐to‐
one relationship. 
4. One student cannot be associated with more than one class. Where as in one class, 
many number of student will be studying. 
5. One teacher can teach in several classes and in one class several teachers can teach 
different subjects and hence it is “many‐to‐many” relationship. 
6. One student can be thought by many teacher and vice‐versa is also acceptable and 
hence it is “many‐to‐many” 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 | P a g e  
 
Entity‐Relationship Diagram For a Primary School 
 
 

  mid_name
Room_no 
 
Init_name  Last_name
standard 
 
section date_of_birth 

  Section  name
1 address
N age 
class  study 
  Phone no     Email 
Student
  Phone no student_id 

  1
M class
  has 
Teaches  1
pay 
   Subject  Employee_id 
has  sl_no 
N
Bill_no 
address  N
Teacher N  Relationship
student_id  1
Phone no 
   Email 
    Guardian  Phone no
date_of_birth  Date_of_payment
name Fee datail
age 
   Email 
Init_name Fee_period
Last_name name

mid_name Init_name
Year  Month  Last_name

mid_name

2 | P a g e  
 

Das könnte Ihnen auch gefallen