Forum Moderators: open
Is it better to create the following:
Two tables with as follows:
student_course_relation table with columns : student_id, course_id
course_professor_relation tabel with columns: course_id, professor_id
or
One table with as follows:
student_course_professor_relation with columns: student_id, course_id, professor_id. Here half of the records of student, would not have a professor_id, and other half of the records of professor would not have student_id.
Which is better?