BLOOD BANK MANAGEMENT
SYSTEM
TE-EXTC A/A2
2020-21
NISHANK DAVE - 19
ROYSTON DMELLO -21
MANAN DODIA - 24
DIVYA GHORUI - 28
DESCRIPTION
The following is what our project aims to achieve : To create a database which
helps to manage the records of donors and patient at a blood bank. It is mainly
designed to store, process, retrieve and analyze information concerned with the
administrative and inventory management within a blood bank.
With blood being a universal requirement, it has become increasingly necessary
for hospitals to have accessible measures to find donors for recipients in urgent
need of specific blood groups.
This blood bank is a small organization that supplies the donated blood to a few
hospitals.
There is a head supervisor for the nurses, accountants, receptionist and storage
workers each.
2
ENTITY SET
Donor (donor_id, donor_name, DOB, age, donor_phone_no, gender)
Blood (blood_id, blood_group) -> Weak Entity
Patient (patient_id, patient_name, patient_phone_no, age, hospital_id)
Employee (emp_id, emp_name, emp_phone_no)
3
RELATIONSHIPS, CARDINALITY & PARTICIPATION
Donates: 1:N : donor with blood : donor partial blood total.
Receives: 1:N : patient with blood : patient partial blood total
Examines: 1:N : employee with blood : employee partial blood total
Works_for: 1:N : employee (Supervisor) with employee (workers) : both total
Collects_from: M:N : employee with donor : Donor total Employee partial
Delivers_Blood_to: 1:N : employee with patient : employee partial patient total
4
ENTITY RELATIONSHIP DIAGRAM
5
RELATIONAL MODEL
Donor (donor_id, donor_name, DOB, age, gender, donor_ph_no)
Employee (emp_id , emp_name, emp_type, supervisor_id, emp_ph)
Patient (patient_id, patient_name, age, hospital_id, patient_ph_no, emp_id*)
Blood (blood_id, donor_id*, blood_group, patient_id*, emp_id*)
Collects_from (donor_id*, emp_id*)
6
SAMPLE TABLES
Donor : Employee :
7
SAMPLE TABLES
Patient : Blood :
8
SAMPLE TABLES
Collects_from :
9
SQL QUERIES
10
SQL QUERIES
11
SQL QUERIES
12
SQL QUERIES
13
SQL QUERIES
14
SQL QUERIES
15
SQL QUERIES
16
SQL QUERIES
17
SQL QUERIES
18
CONCEPTS LEARNT
● Database Management
● SQLite3 Queries
● Data Visualization
● Data Interpretation
● Data Definition Language (DDL)
● Data Manipulation Language (DML)
19
THANK YOU
20