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道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Scenario: CUSTOMER (CustomerID PK) and ORDER (OrderID PK). One customer may place many orders. Where should the foreign key go?
Consider an association between a Customers class and a Sale class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Customers class are 1..1 and the multiplicities next to the Sale class are 0..*. Which of the following is the best way to implement that association in your database?
In the E-R model shown below, if entity A represents customers of an investment bank and entity B represents bank accounts, which of the following statements accurately describes their relationship?
A project has a required return of 12.6 percent, an initial cash outflow of $42,100, and cash inflows of $16,500 in Year 1, $11,700 in Year 2, and $10,400 in Year 4. What is the net present value?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!