Discuss how to map a unary one-to-many relationship

What will be an ideal response?


A unary relationship has only one entity type, and this entity type will become a relation in the conversion process. As with any relation, the identifier of the relation will become the primary key and the other attributes of the entity type will become other attributes of the relation. We next add a foreign key attribute, which maps back to the primary key. This is called a recursive foreign key. For example, if we had a relation such as a person supervising one or more persons, the PersonID would be a primary key. In addition, the relation would have a foreign key SupervisorID, which points back to PersonID.

Business

You might also like to view...

Explain the concept of standards and cost-benefit analysis. Discuss the advantages of cost-effectiveness as against the cost-benefit analysis.

What will be an ideal response?

Business

Common-sized balance sheets show each account as a percentage of total sales to help analysts in

comparing companies of difference sizes. Indicate whether the statement is true or false

Business

Carter Corp., a global retail chain, launches an ad campaign, featuring supermodel Gemma Rush, in several Middle Eastern countries. The television commercials featuring Gemma are not well received in most Middle Eastern countries due to their explicit visuals. Which of the following environmental factors has the company failed to consider in this scenario?

A. political B. legal C. economic D. cultural E. demographic

Business

Which of the following statements is not true of common stock?

A) It is ordinary stock that has no preferences. B) It entitles the holder to share in corporate profits in the form of dividends. C) It entitles the holder to participate in the distribution of capital upon dissolution. D) It is ordinarily nonvoting.

Business