database modelling challenges -


i trying model student database unsure of how represent student, assessment taken, , student results. below description of scenario:

several students offering 1 or more subjects, these subjects have 1 or more assessments. how represent students, subject offered, assessment taken , results of assessment taken students? have attached copy of design made far.

  • my intension design database querying of student,subject,assessment,
    , assessment result can possible , easy.

full-size image

enter image description here

imho should have ternary relationship between student, subject , assessment owning assessment result. necessary in case student can have many subject same assessment.

otherwise if assessment have many subject 1 given student have different choice :

  • can keep ternary.
  • can otherwise store subject id , result in student - assessment relationship table
  • or student id , result in subject - assessment table.

    this should depend on way query tables (all subject assessment a, students subject x assessment a, results subject x assessment a, etc...


  • Comments

    Popular posts from this blog

    blackberry 10 - how to add multiple markers on the google map just by url? -

    php - guestbook returning database data to flash -

    delphi - Dynamic file type icon -