You are on page 1of 3

Assignment on Database Management System

Submitted To, Submitted By,

Robins Sir Shani Sabu


ER Diagram

An entity relationship diagram (ERD) shows the relationships of entity sets stored in a database.
An entity in this context is an object, a component of data. An entity set is a collection of similar
entities. These entities can have attributes that define its properties.

By defining the entities, their attributes, and showing the relationships between them, an ER
diagram illustrates the logical structure of databases.
ER diagrams are used to sketch out the design of a database.
Below is the ER Diagram of College Admission procedure:
 An entity is denoted as a rectangle in an ER diagram. In the above ER diagram student,
admin, course, and department can be treated as entities. All these entities have some
attributes or properties that give them their identity.
 Key is an attribute or collection of attributes that uniquely identifies an entity among the
entity set. The id of a student makes him identifiable among students. Other key attributes
present in the ER diagram are id of admin, id of Corse, did of department.
 In student entity, the student mark is a composite attribute as a mark is composed of other
characteristics such as SSLC, plus two, degree.
 If an attribute can have more than one value, it is known as a multi-valued attribute. Multi-
valued attributes are depicted by the double ellipse. For example, a student can have more
than one phone number, email-address, etc.
 Derived attributes are the attribute that does not exist in the physical database, but their
values are derived from other attributes present in the database. In the above ER diagram,
age can be derived from date of birth. In the ER diagram, Derived attributes are depicted
by the dashed ellipse.
 The association among entities is known as relationship. Relationships are represented by
the diamond-shaped box. Here, enrolls, adds, apply, allots, and offered are relationships.

You might also like