0% found this document useful (0 votes)
88 views

Dbms Lab: Project 01

The document summarizes an ER model created for a blood management system by a group of students. The ER model uses Crow's foot notation to show the relationships between donors, blood, receivers/receptionists, and blood banks. The key relationships are: (1) a donor can donate blood many times while a blood donation is from one donor, (2) a receptionist registers many donors while each donor is assigned one receptionist, and (3) a blood bank stores many types of blood while each blood type is stored in one blood bank.

Uploaded by

tHe tecHniquEs
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views

Dbms Lab: Project 01

The document summarizes an ER model created for a blood management system by a group of students. The ER model uses Crow's foot notation to show the relationships between donors, blood, receivers/receptionists, and blood banks. The key relationships are: (1) a donor can donate blood many times while a blood donation is from one donor, (2) a receptionist registers many donors while each donor is assigned one receptionist, and (3) a blood bank stores many types of blood while each blood type is stored in one blood bank.

Uploaded by

tHe tecHniquEs
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Project 01 DBMS Lab

ER Model

Submitted by:
Qasim Ali - 2019-CS-223
Mubina Akmal - 2019-CS-212
Furqan Abid - 2019-CS-225
Abu Huraira Ali - 2019-CS-228
Afaq Ali - 2019-CS-248

Submitted to:
Sir Murtaza Qasmi

Dated
20 July 2021
What is ERM?
The ERM or Entity-Relationship model is a high-level data model that
is useful in developing a conceptual design for a database.

ERM or Entity Relational Model is a theoretical and conceptual way


of showing data relationships in software development.
ER model is database modeling technique that generates an
abstract diagram or visual representation of a system’s data that
can be helpful in designing a relational database.
A basic ER model composed of entity types and specifies
relationships that can exist between entities.

Types of entity relations:


We can have any of the following relations for an ER diagram:
 One-to-one (1 - 1): Both entities are associated with only one
attribute of another entity
 One-to-many (1 - N): One entity can be associated with multiple
values of another entity
 Many-to-one (N - 1): many entities are associated with only one
attribute of another entity
 Many-to-many (N - M): multiple entities can be associated with
multiple attributes of another entity

What are Business Rules for ERs?


A business rule is a statement that imposes some form of constraint
on a specific aspect of the database.
ER model for Blood Management system:
We have constructed the ER diagram using Crow’s foot notation.

Identifying the relationships:

1- Donor and Blood

Donor Blood
Donates

 A donor can donate his/her blood many times.


 One of many Blood donations is donated by only one donor.

2- Receiver/Receptionist & Donor

Receiver Donor
Registers

 A receptionist is registered to many Donors.


 Each donor is assigned only one receptionist.

3- Receiver/Receptionist & Donor

Stored
Blood Blood
Bank

 A blood Bank Stores many types of Blood.


 Each type of Blood is stored in a Blood Bank.

You might also like