sticklebrick
06-22-2008, 08:55 AM
Hello,
I am trying to write a database for the science department at my school.
Pupils can sit module exams and these total up to their overall grade. Pupils can sit the same module more than once and so they can have more than one result for that module. I need to be able to select only the highest mark to do calculations with.
The results are stored in a table containing the following fields
resultID(Primary Key), StudentID(the students ID number), ExamID(the exam the student sat),exam session(the date that the exam was sat), Result(the mark the student got)
So, student X can take their biology exam in November and then try to improve it in March. I need to sum all of the students biology, chemistry and physics results but only the highest ones. Any help would be greatfully recieved.
I am trying to write a database for the science department at my school.
Pupils can sit module exams and these total up to their overall grade. Pupils can sit the same module more than once and so they can have more than one result for that module. I need to be able to select only the highest mark to do calculations with.
The results are stored in a table containing the following fields
resultID(Primary Key), StudentID(the students ID number), ExamID(the exam the student sat),exam session(the date that the exam was sat), Result(the mark the student got)
So, student X can take their biology exam in November and then try to improve it in March. I need to sum all of the students biology, chemistry and physics results but only the highest ones. Any help would be greatfully recieved.