Вы находитесь на странице: 1из 23

Database Analysis-Unit-1I

Course Name: Faculty Name:


Database Zaiba Khan
Management
System Assistant
Branch- Professor(CSE)
School of
B.Tech V Semester
Engineering &
Course Code: Technology
19007800
Difference Between
Generalization and Specialization

Generalization Specialization

A number of entity set share common It stems from same entity set.
features which described by same Specialization emphasizes differences
attributes and participate in the same among entities within the set by
relationship sets creating distinct low level entity
They may have attributes or can
It synthesizes these entity sets into a
participate in relationships , that do
single , higher level entity set.
not apply to high level entity set
Specialization Example
Generalization Example
Aggregation

 Aggregation is a process in which a single


entity alone is not able to make sense in a
relationship so the relationship of two entities
acts as one entity.

 Onelimitation of ER model is it cannot


express relationships within relationships
Aggregation
Aggregation(Example)

 The relationship set Works_on relating the


entity set Employee, Branch and Job is a
higher level entity

 Such
an entity set is treated in the same
manner as in any other entity set

 Thena binary relationship Manages between


Works_on and Manager to represent who
manages what tasks
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-01:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-01:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-02:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-02:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-03:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-03:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-04:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-04:
Find the minimum number of tables required for the
following ER diagram in relational model-
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-05:
PRACTICE PROBLEMS BASED ON CONVERTING ER DIAGRAM
TO TABLES-

Problem-05:
ER DIAGRAM Examples
ER DIAGRAM Examples
ER DIAGRAM Examples
ER DIAGRAM Examples
ER DIAGRAM Examples
ER DIAGRAM Examples

Вам также может понравиться