0% found this document useful (0 votes)
30 views9 pages

Dbms

The document provides an introduction to Entity-Relationship (ER) diagrams in Database Management Systems (DBMS), detailing core components such as entities, attributes, and relationships. It outlines various types of entities and attributes, as well as relationship types like one-to-many and many-to-many. Additionally, it includes design principles, notations, and steps for creating an ER diagram, exemplified by a library database scenario.

Uploaded by

yashik kakkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views9 pages

Dbms

The document provides an introduction to Entity-Relationship (ER) diagrams in Database Management Systems (DBMS), detailing core components such as entities, attributes, and relationships. It outlines various types of entities and attributes, as well as relationship types like one-to-many and many-to-many. Additionally, it includes design principles, notations, and steps for creating an ER diagram, exemplified by a library database scenario.

Uploaded by

yashik kakkar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Introduction to ER

Diagrams in DBMS
Visual representation of data in a database, using entities,
Name: Prachi Rawat
attributes, and relationships.
Enrolment no: 06517002024
BCAA.Morning B Shift I
by
Semester II Azuma .
Core Components: Entities
Definition Types

Real-world objects or concepts about which data is stored. Strong (independent) and weak (dependent) entities.
Core Components:
Attributes
1 Key attributes
Unique identifiers, like “Roll_no”

2 Derived attributes
Attributes can be derived from others, like “Age"

3 Simple attributes
Basic properties, like "Name"
4 Composite attributes
Combined properties, like "Address"

5 Single-valued attributes
single values per entity, like “DoB"

6 Multi-valued attributes
Multiple values per entity, like "Phone Numbers"
Core Components:
Relationships

1 One-to-many
One entity relates to multiple other entities.

2 Many-to-one
Multiple entities relate to one other entity.

3 Many-to-many
Multiple entities relate to multiple other entities.
Core Components:
Notations
Specialization
Creating subtypes of entities.

Generalization
Combining similar entities into a higher-level entity.

Inheritance
Subtypes inherit attributes from their supertypes.

Categories
Representing a collection of entities (Union type).
ER Diagram Symbol and Design Principles

Entities Attributes
Rectangles Ovals

Relationships
Diamonds
Steps to Create an ER Diagram

Refine the diagram


Identify relationships
Review and revise for
Identify attributes
accuracy and clarity.
Identify entities
Define the properties of Determine how entities
Determine the key objects each entity. are related.
or concepts.
ER Diagram Example: Library Database

Books Publisher
Author, Book_Id, Title, Price, Available Pub_Id, Address, Name

Borrowed by Member
DepartmentName Expiry_date, Name, Address,
Memb_type, Memb_date, Memb_Id

You might also like