KevinM
02-22-2006, 08:38 AM
I have two tables....
1. Tutor Projects where Many Tutors will have many Projects.
SupervisorID
PK = ProjectID
2. Student Projects where a Student will pick many Projects from above.
Comp PK=StudentID and ProjectID.
Now they want it so each student can't pick the same tutor more than once!
So this would mean adding the SupervisorID as a PK to table2 which
I don't want to do as it would go against '2nd normal form' rule and cause all sorts of problems!
So how fo i go about letting each student pick different Projects (as they always have) but restrict them to unique Supervisors :confused:
1. Tutor Projects where Many Tutors will have many Projects.
SupervisorID
PK = ProjectID
2. Student Projects where a Student will pick many Projects from above.
Comp PK=StudentID and ProjectID.
Now they want it so each student can't pick the same tutor more than once!
So this would mean adding the SupervisorID as a PK to table2 which
I don't want to do as it would go against '2nd normal form' rule and cause all sorts of problems!
So how fo i go about letting each student pick different Projects (as they always have) but restrict them to unique Supervisors :confused: