nikeloeleven
Programmer
Hi there ,
I have 3 tables
"PUPIL"
"SUBJECT TARGET"
"REVIEW"
Basically, each pupil has a target that he sets himself/herself.
Those targets are reviewed, hence the 3 tables.
Here is my entity relationship diagram to show how they are linked:
PUPIL -------- 1 to many ------------ SUBJECT TARGET ---------1 to many -------- REVIEW
PUPIL has a key field called "Admission Number". It is posted to SUBJECT TARGET as a foreign key....
REVIEW also needs the "Admission Number" field but it's not actually linked to "PUPIL" so I can't figure out a way for this to be possible...
Can I just post Admission Number from SUBJECT TARGET to REVIEW even though I know that "Admission Number" is just a foreign key in SUBJECT TARGET...?
Please help me on how to allow REVIEW to have "Admission Number" field aswell please.... thanks so much.
I'd be greatful for replies as soon as possiblebecause I've been stuck on this for so long now.. Thanks a lot
I have 3 tables
"PUPIL"
"SUBJECT TARGET"
"REVIEW"
Basically, each pupil has a target that he sets himself/herself.
Those targets are reviewed, hence the 3 tables.
Here is my entity relationship diagram to show how they are linked:
PUPIL -------- 1 to many ------------ SUBJECT TARGET ---------1 to many -------- REVIEW
PUPIL has a key field called "Admission Number". It is posted to SUBJECT TARGET as a foreign key....
REVIEW also needs the "Admission Number" field but it's not actually linked to "PUPIL" so I can't figure out a way for this to be possible...
Can I just post Admission Number from SUBJECT TARGET to REVIEW even though I know that "Admission Number" is just a foreign key in SUBJECT TARGET...?
Please help me on how to allow REVIEW to have "Admission Number" field aswell please.... thanks so much.
I'd be greatful for replies as soon as possiblebecause I've been stuck on this for so long now.. Thanks a lot