Explain generalization and aggregation in e_r diagram, Database Management System

Assignment Help:

Explain the concept of generalization and aggregation in E_R diagrams. Give one example for each one of them?

Generalization: Consider extending the entity set account through classifying accounts as being either savings-account or chequing-account.
Each of these is described through the attributes of account plus additional attributes. (Savings has interest-rate and cheque has overdraft-amount.)
We can express the similarities among the entity sets through generalization. This is the procedure of forming containment relationships among a higher-level entity set and one or more lower-level entity sets.

Aggregation: The E-R model cannot express relationships between relationships.
When would we require such a thing?

Consider a DB along with information about employees who work on a particular project and use a number of machines doing in which work. We get the E-R diagram shown in Figure.

620_Employee data.png

Figure: E-R diagram with redundant relationships

Relationship sets work and uses could be combined into a single set. Therefore, they shouldn't be, as this would obscure the logical structure of this scheme.
The solution is to use aggregation.
• An abstraction by those relationships is treated as higher-level entities.
• For our instance, we treat the relationship set work and the entity sets employee and project as a higher-level entity set called work.
• Another figure shows the E-R diagram with aggregation.

75_employee data2.png


Related Discussions:- Explain generalization and aggregation in e_r diagram

Multi-list file organisation, Multi-list file Organisation Multi-list f...

Multi-list file Organisation Multi-list file organisation is a multi-index linked file organisation. A linked file organisation is a logical organisation where physical orderin

How to deal with the authentication problem, Most computer systems authenti...

Most computer systems authenticate users by asking them for the user name and password. However, the user names and passwords often can be guessed by hackers. Suggest an automated,

Update anomaly-data redundancy, Update Anomaly : This anomaly is occurred d...

Update Anomaly : This anomaly is occurred due to data redundancy. Redundant information makes updates more complex since, for example, varying the name of the instructor of MCS-014

Natural join-table handling, Natural Join : It is the similar like Equi joi...

Natural Join : It is the similar like Equi join except one of the duplicate columns is removed in the result table. The natural join is the most usually used form of join operation

What is data dictionary, What is Data dictionary? A data dictionary is ...

What is Data dictionary? A data dictionary is a reserved space in a database that is employed to store information about the database itself. A data dictionary may consist o

Using literal character string-data manipulation language, Using Literal Ch...

Using Literal Character String Example: To print IS A as one string with column name employee SELECT ENAME || ' IS A ' || JOB AS "EMPLOYEE" FROM EMP;

Define join and outer join, Define Join and Outer Join and differentiate be...

Define Join and Outer Join and differentiate between them.      Ans: Join - It generates all the combinations of tuples from two relations which satisfy a join condition.  Oute

On laod, how to write a in a text and load it on mysql

how to write a in a text and load it on mysql

Illustrate the diagram - association as a cache, Association as a cache ...

Association as a cache This association must be updated when any new element is added to it, but testing for overlap using association is more efficient.    Figure:

Shadow copy, why shadow copy technique is used?

why shadow copy technique is used?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd