ER Diagram of Primary school

  • Published on
    18-Nov-2014

  • View
    9.024

  • Download
    1

Embed Size (px)

DESCRIPTION

ER Entity relationship diagram of a Primary School Contact +91-9163902878

Transcript

EntityRelationshipDiagramForaPrimarySchool

AssumptionsforERDiagram:

WhiledrawingtheERdiagramforprimaryschool,wehadsomeassumptionwhichisas follows: 1. Oneteachercanteachmultiplesubjects 2. Thereisnoelective/optionalsubjectforanyoftheclassinprimaryschool. 3. Inschool,onlyoneguardiannamewillbementionedindatabaseandhenceitisoneto onerelationship. 4. Onestudentcannotbeassociatedwithmorethanoneclass.Whereasinoneclass, manynumberofstudentwillbestudying. 5. Oneteachercanteachinseveralclassesandinoneclassseveralteacherscanteach differentsubjectsandhenceitismanytomanyrelationship. 6. Onestudentcanbethoughtbymanyteacherandviceversaisalsoacceptableand henceitismanytomanyrelationship 7. Onestudentneedtopayfeeeverymonth,sothatonestudentneedtopayfeeseveral time 8. Inentitystudentandteacher,ageisderivedattributewhichcanbederivedbythedate ofbirth. 9. Sinceguardianisnotdirectlyinvolvedintheprocessofteachinginschoolweconsiderit asweekentity

1|P a g e

EntityRelationshipDiagramForaPrimarySchool Room_no mid_name

has Teaches payEmployee_id standardInit_name Last_name

sectionSection Phone no

date_of_birth

class

1 study

name Naddress

age

Email

Student MPhone no

student_id

M

1

class 1

Subject Naddress Phone no

has NBill_no student_id

sl_no

Teacher Email nameInit_name Last_name

N

Relationship

1 GuardianPhone no

date_of_birth age

Date_of_payment

Fee datail name

Email

Fee_period

mid_name

Init_name

Year

Month

Last_name

mid_name

2|P a g e