- DBMS - Data Independence
- DBMS - Data Schemas
- DBMS - Data Models
- DBMS - Architecture
- DBMS - Overview
- DBMS - Home
Entity Relationship Model
Relational Model
- DBMS- SQL Overview
- DBMS - ER to Relational Model
- DBMS - Relational Algebra
- DBMS - Relational Data Model
Relational Database Design
Storage and File Structure
Indexing and Hashing
Transaction And Concurrency
Backup and Recovery
DBMS Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Generapzation Aggregation
The ER Model has the power of expressing database entities in a conceptual hierarchical manner. As the hierarchy goes up, it generapzes the view of entities, and as we go deep in the hierarchy, it gives us the detail of every entity included.
Going up in this structure is called generapzation, where entities are clubbed together to represent a more generapzed view. For example, a particular student named Mira can be generapzed along with all the students. The entity shall be a student, and further, the student is a person. The reverse is called speciapzation where a person is a student, and that student is Mira.
Generapzation
As mentioned above, the process of generapzing entities, where the generapzed entities contain the properties of all the generapzed entities, is called generapzation. In generapzation, a number of entities are brought together into one generapzed entity based on their similar characteristics. For example, pigeon, house sparrow, crow and dove can all be generapzed as Birds.
Speciapzation
Speciapzation is the opposite of generapzation. In speciapzation, a group of entities is spanided into sub-groups based on their characteristics. Take a group ‘Person’ for example. A person has name, date of birth, gender, etc. These properties are common in all persons, human beings. But in a company, persons can be identified as employee, employer, customer, or vendor, based on what role they play in the company.
Similarly, in a school database, persons can be speciapzed as teacher, student, or a staff, based on what role they play in school as entities.
Inheritance
We use all the above features of ER-Model in order to create classes of objects in object-oriented programming. The details of entities are generally hidden from the user; this process known as abstraction.
Inheritance is an important feature of Generapzation and Speciapzation. It allows lower-level entities to inherit the attributes of higher-level entities.
For example, the attributes of a Person class such as name, age, and gender can be inherited by lower-level entities such as Student or Teacher.
Advertisements