storing student module records

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mubs
    New Member
    • Mar 2007
    • 77

    storing student module records

    Hi all, i am setting up a database using sql to store details for students modules results, i have 3 tables

    students
    modules
    results

    the issue is i cant understand how to store data in the results table, as students have completed many modules, how would i store this?
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    How are your tables structured?
    What exactly do you mean by "module"?

    Assuming that it is something like a class or a course the student has completed and been graded on, and you need that grade stored in your result table; the typical structure for such a system would be to have a Student table with a unique ID for each student, a Module table with a unique ID for each module, and the result table, which would reference the ID's of both the Student and Module tables along with the grade.

    Comment

    • Mubs
      New Member
      • Mar 2007
      • 77

      #3
      In the results table i want to store data of students who have completed Xnumber of modules(subject s)..

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by Mubs
        In the results table i want to store data of students who have completed Xnumber of modules(subject s)..
        But that information would be available from the modules table only. Why do you need the results table? Do post your table structures so we can understand what you are trying to get at.

        Comment

        Working...