Hi all,
I am designing a database for a graduate program in SQL Server 2000. At the minimum, the faculty of this program can have the status of one of the following titles: Instructor, EMentor, Internship Mentor, Field Mentor, and Supervisor.
Each student is assigned an EMentor, Internship Mentor, Field Mentor and Supervisor, not necessarily all at once.
So far I have designed the faculty table with Instructor, EMentor, Internship Mentor, Field Mentor, & Supervisor fields with a bit datatype (to show whether he/she currently has that status) to avoid assigning a faculty member multiple ID's for multiple titles.
My question comes when assigning a student mentors and a supervisor. Is it normal to have a relationship between two tables where the primary key in one table is making a relationship with another table for different fields?
Ex.
FacultyID PK(Faculty Table) with EMentor FK in Student Table
FacultyID PK(Faculty Table) with InternshipMentor FK in Student Table
Thanks,
Rob
I am designing a database for a graduate program in SQL Server 2000. At the minimum, the faculty of this program can have the status of one of the following titles: Instructor, EMentor, Internship Mentor, Field Mentor, and Supervisor.
Each student is assigned an EMentor, Internship Mentor, Field Mentor and Supervisor, not necessarily all at once.
So far I have designed the faculty table with Instructor, EMentor, Internship Mentor, Field Mentor, & Supervisor fields with a bit datatype (to show whether he/she currently has that status) to avoid assigning a faculty member multiple ID's for multiple titles.
My question comes when assigning a student mentors and a supervisor. Is it normal to have a relationship between two tables where the primary key in one table is making a relationship with another table for different fields?
Ex.
FacultyID PK(Faculty Table) with EMentor FK in Student Table
FacultyID PK(Faculty Table) with InternshipMentor FK in Student Table
Thanks,
Rob