![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
将下图转化为关系模式如下两个模式 student( ID , name, tot_cred) instructor( ID , name, salary, student_ID ) 其中student_ID must in student(ID) 此时我们需要将E-R图上的约束(映射基数)也进行相应的表达,其正确方法是:
A.
在instructor上定义函数依赖ID -> student_ID
B.
在instructor上定义函数依赖ID -> student_ID,name, salary student_ID -> ID
C.
在instructor上定义函数依赖ID -> student_ID, name, salary在student上定义函数依赖 student-ID- > name, tot_cred
D.
ID在student上定义函数依赖 ID -> name, tot_cred在instructor上定义函数依赖ID -> student_ID