Академический Документы
Профессиональный Документы
Культура Документы
Many-to-many relationships
{StudentID, ClassID}
Example 1 Cont…
The key for this table is the combination of
StudentID and ClassID. To avoid violation of
2NF, all other information about each student
and each class is stored in separate Student
and Class tables, respectively.
* *
Students Classes
* *
Classes Teachers
Case 1:
Assume the following relation:
Employee (Eid:pk1, Language:pk2, Skill:pk3)
Emplyee_Language(Eid:pk1, Languages:pk2)
Eid Language
100 English
100 Kurdish
200 Arabic
Cont…
Emplyee_Language(Eid:pk1, Skills:pk2)
Eid Skill
100 Teaching
100 Politic
200 Singing
References