Fundamentals of Databases project

Description

Please follow the instructions in the file carefully

Don't use plagiarized sources. Get Your Custom Assignment on
Fundamentals of Databases project
From as Little as $13/Page

Unformatted Attachment Preview

College of Computing and Informatics
Project
Deadline: Thursday 07/12/2023@ 23:59
[Total Mark for this Project is 14]
Stuent Details:
Name:
Name:
Name:
Name:
ID:
ID:
ID:
ID:
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g., misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Project Instructions
Pg. 01
Project Instructions
• You can work on this project as a group (minimum 3 and maximum 4 students).
Each group member must submit the project individually with all group member
names mentioned in the cover page.
• This project worth 14 marks and will be distributed as in the following:
a) Identify the entity types, attributes, keys.
b) Identify the relationship and cardinalities.
c) Draw the ERD.
d) Schemas before Normalization.
e) Schemas after Normalization.
f) Create the tables.
g) Populate your tables with at least 5 rows.
h) Execute the requested sample queries.
(2 marks)
(2 marks)
(2 marks)
(1.5 marks)
(1.5 marks)
(1.5 marks)
(1.5 marks)
(2 marks)
• Each student must submit one report about his/her chosen Project via the Blackboard
(Email submission will not be accepted which will be awarded ZERO marks)
• Screenshots for answering SQL questions (f, g, and h).
• You are advised to make your work clear and well presented; marks may be reduced
for poor presentation. This includes filling your information on the cover page.
• You MUST show all your work, and text must not be converted into an image, unless
specified otherwise by the question.
A) Late submission will result in ZERO marks being awarded.
B) The work should be your own, copying from students or other resources will
result in ZERO marks.
Hospital Management System
Pg. 02
Learning
Outcome(s):
Hospital Management System
Year 2030, you are hired as a database developer in local hospital. The top
management of the hospital is interested to design a new database to manage their
daily routine work. In the requirement identification phase, you have identified five
core elements in the hospital
LO 4
Design a
database starting
from the
conceptual
design to the
implementation
of database
schemas.

Patients: The hospital stores crucial patient data, including their
personal information (first name, last name, date of birth, gender), contact
details (phone number, address), insurance information, and their medical
history.

Doctors: Hospital also maintains records of the medical
professionals, including their specialization, contact information, license
number, office hours, and email addresses.

Appointments: For efficient management of the patients visits to
the hospitals, the data about each appointment is stores as it connects
LO 3
patients with specific doctors. The appointment date and time, the reason
for the visit, and the appointment status (e.g., scheduled, canceled,
Create EntityRelationship
model, Relational
model, and write
SQL queries.
completed) is also stored.

Medical Records: A comprehensive record of patients’ medical
histories is maintained. It includes diagnosis details, treatment plans,
prescriptions, test results, and the date of each medical visit. These records
are associated with both patients and doctors.

Medical Staff: Data related to hospital staff members, such as
nurses, receptionists, and administrators is also stored. Information like
their roles, contact details, shift timings, and salary is recorded for proper
staff management.
Hospital Management System
Pg. 03
Hospital Management System
a) Fill the table below with all the Entities based on the given requirements:
Entity Type
Attributes of the Entity
Key
Hospital Management System
Pg. 04
b) Fill the table below with all the relationship type based on the given requirements.
Relationship
Type
Entities
connected by the
relationship type
Cardinality
Relationship attribute
Hospital Management System
Pg. 05
c) Draw the ER diagram
Hospital Management System
Pg. 06
d) Fill the table below with all schemas before normalization.
Schema Name
Schema Attribute
Key
Hospital Management System
Pg. 07
e) Fill the table below with all schemas after normalization up to the 3NF.
Schema Name
Schema Attribute
Key
Pg. 08
Hospital Management System
f) Write the necessary SQL statements to create the tables.
Pg. 09
Hospital Management System
g) Insert at least five rows into each table.
Hospital Management System
Pg. 10
h) Write SQL queries to find the following:
1) List of Doctors who have performed more than 10 surgeries.
2) List of Patients admitted for surgery between 1/9/2023 and 31/9/2023.
3) List of all the Patients who have not paid their bills till today.
4) List of Doctors on leave in a particular month.
5) List of Appointments with each Doctor with Patient name for a particular
day.

Purchase answer to see full
attachment