To correctly represent optional participation in 1:N relationship between Advisor:Student relations where a student can have one advisor but is not required to have one and an Advisor can advice to any number of students, do the following: 单项选择题

A

Insert AdvisorID, a PK from Advisor relation, into Student relation as a FK and allow it to have NULLS

B

Merge Student and Advisor relations into one relation and create a composite PK consisting from PKs from both sides (StudentID and AdvisorID)

C

Insert StudentID, a PK from Student relation, into Advisor relation as a FK and allow it to have NULLS.

D

Insert AdvisorID, a PK from Advisor relation, into Student relation as a FK and set it not to permit NULLS.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!