Professional Documents
Culture Documents
represented in the database and representation of how those entities are related. The ER data model specifies
enterprise schema that represents the overall logical structure of a database graphically
The entity can be classified into two basic categories, strong entity set and weak entity set. An entity set that
has a primary key is the strong entity set. An entity that doesn't have a primary key is a weak entity set
In DBMS, the degree of relationship is the number of entities that have taken part in the relationship
One-to-One Relationship:When only one instance of an entity is associated with the relationship, then it
is known as one to one relationship
One-to-many relationship:When only one instance of the entity on the left, and more than one instance
of an entity on the right associates with the relationship then this is known as a one-to-many relationship
Many-to-one relationship:When more than one instance of the entity on the left, and only one instance
of an entity on the right associates with the relationship then it is known as a many-to-one relationship
Many-to-many relationship:When more than one instance of the entity on the left, and more than
one instance of an entity on the right associates with the relationship then it is known as a many-to-many
relationshi
There are some points for converting the ER diagram to the table:
Specialization
Aggregation
Advantages
EASY TO UNDERSTAND : The design of ER is very logical and hence they are easy to design and
understand.They show database capabilities like how tables, keys and columns are used to find a
solution to the given question.
USEFUL IN DECISION MAKING : Since some of the entities in the database are analyzed by an ER-
Diagram, So by drawing an ER-Diagram we come to know what kind of attributes and relationship
exist between them