Question: Following is the database schema where the first attribute in each relation is the Primary key and the foreign keys carry the same names as

Following is the database schema where the first attribute in each relation is the Primary key and the foreign keys carry the same names as the primary keys they reference.

Primary keys: RID in Receptionist, DID in Donor, BID in Blood, NID in Nurses and PatientID in Transfusions.

Receptionist(RID, Name, Address, Phone#) Donor (DID, Name, Address, Phone#, SSN, gender, DOB) Blood(BID, Blood_type, Cost, DID, NID) Nurses(NID, Name, Address, Phone#) Transfusions(PatientID, Date, Trans#, BID)

The refactoring requirement is: Since donors may donate every 60 days, a collection date needs to be added to the blood relation.

I would like to know what refactoring needs to be done for this particular requirement? Where should the Collection Date column be added and what are the other changes be done?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!