Professional Documents
Culture Documents
Practical6 DDD MCA1
Practical6 DDD MCA1
06
Aim: Draw Entity Relationship Diagram to represent passenger and train booking
relationship.
Theory:-
ER Diagram/ model stands for an Entity-Relationship model. It is a high-level data model.
This model is used to define the data elements and relationship for a specified system.
It develops a conceptual design for the database. It also develops a very simple and easy to
design view of data.
In ER modeling, the database structure is portrayed as a diagram called an entity-
relationship diagram.
Suppose we design a school database. In this database, the student will be an entity with
attributes like address, name, id, age, etc.
The address can be another entity with attributes like city, street name, pin code, etc and
there will be a relationship between them.
Attributes
Entity
Tool:- We can use any software freely available to draw schema diagram. Here, we have used
Diagrams.net online platform.
Drag and drop different shapes given in General tab. We have selected a shape which shows list of
table items. Connect different shapes using arrows. You may draw multiple tables with a single
central fact table.
Save file as, Select menu File-> Make a copy-> Choose type as Editable Bitmap Image (.png) Save
diagram on drive.
Now, open saved file from drive.