ISM Project
ISM Project
ISM Project
relationship model
Objective
pg. 1
In this project, we will understand the working of ENTITY-
RELATIONSHIP MODEL, so in this we define the following
terms as follows:
1) What exactly is ER-model?
2) The component of ER-model.
3) The ER-Model symbols ¬ations.
4) The uses, advantages and disadvantages of ER-model.
5) How to draw ER-model.
Content
pg. 2
OBJECTIVES:....................................................................................2
INTRODUCTION:.............................................................................4
COMPONENTS OF E-R MODEL:..................................................4
E-R DIAGRAM SYMBOL AND NOTATIONS:............................7
USES OF E-R MODEL:....................................................................7
ADVANTAGES OF E-R MODEL:................................................8
DISADVANTAGES OF E-R MODEL:............................................8
HOW TO DRAW BASIC E-R MODEL:......................................9
CONCLUSION:..................................................................................9
REFERENCES:................................................................................10
Introduction
pg. 3
structure of databases. ER diagrams are created based on three basic
concepts: entities, attributes and relationships.
ER Diagrams contain different symbols that use rectangles to
represent entities, ovals to define attributes and diamond shapes to
represent relationships.
At first look, an ER diagram looks very similar to the flowchart.
However, ER Diagram includes many specialized symbols, and its
meanings make this model unique. The purpose of ER Diagram is to
represent the entity framework infrastructure.
Entity Relationship Model is a high-level conceptual data model
diagram. ER model helps to systematically analyse data requirements
to produce a well-designed database. The ER Model represents real-
world entities and the relationships between them. Creating an ER
Model in DBMS is considered as a best practice before implementing
your database.
ER Modelling helps you to analyse data requirements systematically
to produce a well-designed database. So, it is considered a best
practice to complete ER modelling before implementing your
database.
pg. 4
This model is based on three basic concepts:
Entities
Attributes
Relationships
ENTITY
A real-world thing either living or non-living that is easily
recognizable and non-recognizable. It is anything in the enterprise that
is to be represented in our database. It may be a physical thing or
simply a fact about the enterprise or an event that happens in the real
world.
An entity can be place, person, object, event or a concept, which
stores data in the database. The characteristics of entities are must
pg. 5
have an attribute, and a unique key. Every entity is made up of some
‘attributes’ which represent that entity.
Examples of entities:
Person: Employee, Student, Patient
Place: Store, Building
Object: Machine, product, and Car
Event: Sale, Registration, Renewal
Concept: Account, Course
Relationship
Relationship is nothing but an association among two or more entities.
E.g., Tom works in the Chemistry department.
Attributes
pg. 6
stored directly. Instead, it should be derived from the DOB of that
employee.
Uses of ER-MODEL
The main uses of E-R MODEL are:
pg. 7
ii. Provide a preview of how all your tables should connect, what
fields are going to be on each table.
iii. Helps to describe entities, attributes, relationships.
iv. ER diagrams are translatable into relational tables which
allows you to build databases quickly.
v. ER diagrams can be used by database designers as a blueprint
for implementing data in specific software applications.
vi. The database designer gains a better understanding of the
information to be contained in the database with the help of
ERP diagram.
vii. ERD Diagram allows you to communicate with the logical
structure of the database to users.
Advantages of ER-MODEL
i. Entity-Relationship Diagram or model is easy to create and
understand.
ii. Entity-Relationship Model is very simple because if you
know the relationship between attributes and entities, you can
easily draw it.
iii. It is a tool for effective communication for database designer.
iv. It can be easily converted into a Relational Model by simply
converting the ER Model into tables.
DISADVANTAGES OF ER-MODEL
pg. 8
iii. This model is especially popular for high-level design.
Conclusion
ER Diagram in DBMS is widely used to describe the conceptual
design of databases. It helps both users and database developers to
preview the structure of the database before implementing the
database. With the help of Entity-Relationship diagram we can create
the required database and perform queries. For example in case of
Airline Reservation System we can make queries like to find the
schedule time of a flight, number of booked seats in a flight, flight
fares etc. with the help of query language like SQL, Relational
Algebra, Relational, Calculus etc. We can represent a database that
pg. 9
conforms to an E-R database scheme by a collection of tables. For
each entity set and for each relationship set in database, there is a
unique table to which we can assign the name of the corresponding
entity set and relationship set. Each table has multiple columns, each
of which has a unique name. Both the E-R model and the relational-
database model are abstract, logical representations of real-world
enterprises. Because the two models employ similar design principles,
we can convert an E-R design into relational design. Converting a
database representation from an E-R diagram to a table format is the
way we arrive at a relational-database design from an E-R diagram.
Informally, a relation can be considered to be a table of values.
Reference
https://www.simplilearn.com/tutorials/sql-tutorial/er-diagram
https://www.coursehero.com/file/p64kg88
https://www.guru99.com/er-diagram-tutorial-dbms.html
https://en.wikipedia.org/wiki/Entity
%E2%80%93relationship_model
_____________________________________________
pg. 10
pg. 11