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?单项选择题
A
Post the primary key of Customers as a foreign key in Sales.
B
Post the primary key of Sales as a foreign key in Customers.
C
Create a linking table.
D
None of these choices are correct.
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Scenario: CUSTOMER (CustomerID PK) and ORDER (OrderID PK). One customer may place many orders. Where should the foreign key go?
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?
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:
Project A has a required return on 9.2 percent and cash flows of −$87,000, $32,600, $35,900, and $43,400 for Years 0 to 3, respectively. Project B has a required return of 12.7 percent and cash flows of −$85,000, $14,700, $21,200, and $89,800 for Years 0 to 3, respectively. Which project(s) should you accept based on net present value if the projects are mutually exclusive?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!