Reference no: EM132175225
Question: Project: Database System for a Blood Bank Organization
Consider a database system for a Blood Bank Organization. The data requirements are summarized as follows:
1. Donors:
1. Donors are tracked by a unique donor ID.
2. Personal information includes first name, last name, phone number, Date of Birth and sex.
3. The combination of the Donor's first and last name must be unique.
4. Donor's sex is not a mandatory field.
5. Donors must be at least 17 years of age.
6. Donors can donate at any clinic any number of times.
2. Blood:
1. Blood is tracked by a unique ID.
2. BloodType is how the blood is categorized: (A+/A-, B+/B-, AB+/AB-, O+/O-, N/A).
3. N/A refers to blood that has not been processed yet.
4. Status refers to the state of the blood: (pure, N/A, impure).
5. N/A refers to blood that has not been processed yet.
6. Donor_id is a FK which references the ID of the Donor.
7. Blood specimens must have a donor.
8. Clinic_id is a FK which references the ID of the Clinic that stores the blood.
9. Blood specimens must be stored at one clinic.
10. DonateDate is the date the blood sample was received.
3. Clinic:
1. Clinics are tracked by unique clinic ID.
2. Each clinic has a name and location.
3. The combination of the clinic's name and location must be unique.
4. Employees:
1. Employees are tracked by unique Employee ID.
2. Clinic_id is a FK which references the Clinic ID which they work at.
3. Employees must work at a single Clinic.
4. Personal information includes Fname, Lname and sex.
5. The combination of an employee's first and last name must be unique.
Requirement: • Design & ER Model
• Normalize the Tables (in 3NF at least)
• Create the Normalized Tables and Populate them with at least 5 Rows
• Write the sample requested Queries & Execute themSQL Queries:
1. List the first and last name of all donors whose blood type is O+.
2. List names and location of clinics that store a blood of type B+.
3. Find the names of donors whose age is above 30 years and have donated since 1/1/2000.
4. List the names of employees who are working in clinics which do not have a blood of type A-.
Instructions: 1. Project must be containing the following:
a. ER Diagram.
b. All schemas before and after normalization.
c. All SQL statements of:
• creating tables
• inserting data in tables
• queries.
2. Screenshots from MySQL (or any other software you use) of all the tables after population and queries results.
3. 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.
4. You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.
5. The work should be your own, copying from students or other resources will result in ZERO marks.