i have table students , instructors , courses.
- relationship between instructor , course many many (as instructor can teach many course , course can tough many instructors ) create instructorcourse table break many many
- relationship between student , course many many (as student can register in many courses , course have many students) create studentcourse table break many many
- relationship between student , instructor 1 many l have problem in cyclic relationship
you can create cross-relation tables mean can create studentcourses table example studentid & courseid fields (as composite primary key if required)
Comments
Post a Comment