J
John
I have realized that I need 3 tables for my school database.
My goal for this database is to be able to allow a student to take more than
one class (different class, not repeating) and not wanting to enter the
student's personal information again. Currently, If I add a student to a
class I would see the student as another record in the form. That means I
have to re-enter his or her info again. This is What I am planning to do.
Please let me know if it's correct.
1. Student table
StudentID PK
other personal info
2. Class table
ClassID pk
other class info etc..
3. stduentclass table
StudentID PK
ClassID PK
Now, I need to know if I should put the grades field into the third table or
the class table? Why?
Also, can you comment on structor the database. Is there another better
solution?
Thank you very much.
My goal for this database is to be able to allow a student to take more than
one class (different class, not repeating) and not wanting to enter the
student's personal information again. Currently, If I add a student to a
class I would see the student as another record in the form. That means I
have to re-enter his or her info again. This is What I am planning to do.
Please let me know if it's correct.
1. Student table
StudentID PK
other personal info
2. Class table
ClassID pk
other class info etc..
3. stduentclass table
StudentID PK
ClassID PK
Now, I need to know if I should put the grades field into the third table or
the class table? Why?
Also, can you comment on structor the database. Is there another better
solution?
Thank you very much.