Quote:
Originally posted by pearl2
Please pardon me if my question sounds elementary.
|
And what question, pray tell, is that?
I'll guess that you're asking if that's a good way of doing it??
If it were me, I'd have a table for courses, a table for students, and a table called student_test that held the info for each test taken, whatever subject it was in.
Table StudentTest
studentID (fk)
testID (fk)
mark
dateTaken
I would make a unique key on studentID, testID and dateTaken (unless resits are not applicable, in which case just testID and studentID).
Regards,
Matt.
