Modeling 3 entities with relationships

老子叫甜甜 提交于 2019-12-03 12:38:29

Here is an example,

Conceptual (using NORMA)

Teacher teaches Course

  • It is possible that some Teacher teaches more than one Course and that for some Course, more than one Teacher teaches that Course.
  • In each population of Teacher teaches Course, each Teacher, Course combination occurs at most once.

Student takes Course

  • It is possible that some Student takes more than one Course and that for some Course, more than one Student takes that Course.
  • In each population of Student takes Course, each Student, Course combination occurs at most once.

Teacher tutors Student on Course

  • For each Student and Course, at most one Teacher tutors that Student on that Course.

Constraints

  • For each Teacher and Course, that Teacher tutors some Student on that Course if and only if that Teacher teaches that Course.

  • For each Student and Course, some Teacher tutors that Student on that Course if and only if that Student takes that Course.


Logical

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!