Thursday 31 January 2013

Define the concept of aggregation. Give two examples of where this concept is useful.

Q) Define the concept of aggregation. Give two examples of where this concept is useful.


Answer: Aggregation is an abstraction through which relationships are treated as higher-level entities. Thus the relationship between entities A and B is treated as if it were an entity C. Some examples of this are:

a. Employees work for projects. An employee working for a particular project uses various machinery. See Figure

aggregation1E-R diagram Example 1 of aggregation.


b. Manufacturers have tie-ups with distributors to distribute products. Each tie-up has specified for it the set of products which are to be distributed. See Figure


aggregation2E-R diagram Example 2 of aggregation.



E-R diagram for online bookstore.


E-R-diagram-for-online-bookstore

Related Topics : E-R diagram for favourite sports team statistics

E-R diagram for marks database

E-R diagram for a university

Explain the distinctions among the terms primary key, candidate key, and superkey.

List six major steps that you would take in setting up a database for a particular enterprise.

Explain the difference between a weak and a strong entity set.

1 comment: