InterviewSolution
Saved Bookmarks
| 1. |
What are Many to Many associations? |
|
Answer» Many-to-many association INDICATES that there are multiple relations between the instances of two entities. We could take the example of multiple students taking part in multiple courses and vice versa. Since both the student and course entities refer to each other by MEANS of foreign keys, we represent this relationship TECHNICALLY by creating a separate table to HOLD these foreign keys. Many To Many AssociationsHere, Student-Course Table is called the Join Table where the student_id and course_id would form the composite primary key. |
|