Hi,
I am creating a database for a placements office at a university. Students have the option to undertake a placement in their 3rd year.
I've been advised to use joining tables but I thought they were only for many to many tables.
My current structure is:
tblStudents
StudentID - Number
tblContactDetails
ContactReferenceNumber - Autonumber
tblEmployerInfo
EmployerID - Autonumber
tblStudentContacts
scStudentID - Lookup Wizard linked to tblstudents - StudentID.
scContactReferenceNumber - Number/Long Integer
tblStudentEmployers
scStudentID - Loookup Wizard linked to tblstudents - StudentID.
scEmployerID - Number/Long Integer
Joining type wise, from studentID to scStudentID they both set as one-to-many but from EmployerID to scEmployerID and ContactReferenceNumber to scContactReferenceNumber they join as a one-to-one relationship. Is this right?
One student can have more than one employer as they might do two or three placements in a year. A student may also have more than one set of contact details as they differ from placement to placement. An employer can only have one student though and a contact details record can only belong to one student so I believe they should both be one-to-many and don't require the joining tables?
Regards
I am creating a database for a placements office at a university. Students have the option to undertake a placement in their 3rd year.
I've been advised to use joining tables but I thought they were only for many to many tables.
My current structure is:
tblStudents
StudentID - Number
tblContactDetails
ContactReferenceNumber - Autonumber
tblEmployerInfo
EmployerID - Autonumber
tblStudentContacts
scStudentID - Lookup Wizard linked to tblstudents - StudentID.
scContactReferenceNumber - Number/Long Integer
tblStudentEmployers
scStudentID - Loookup Wizard linked to tblstudents - StudentID.
scEmployerID - Number/Long Integer
Joining type wise, from studentID to scStudentID they both set as one-to-many but from EmployerID to scEmployerID and ContactReferenceNumber to scContactReferenceNumber they join as a one-to-one relationship. Is this right?
One student can have more than one employer as they might do two or three placements in a year. A student may also have more than one set of contact details as they differ from placement to placement. An employer can only have one student though and a contact details record can only belong to one student so I believe they should both be one-to-many and don't require the joining tables?
Regards