Question

In: Computer Science

**System Analysis** I will appreciate your clear answer without handwriting to understand the solution. 9.46 Consider...

**System Analysis** I will appreciate your clear answer without handwriting to understand the solution.

9.46 Consider the list of individual 3NF relations below. These relations were developed from several separate normalization activities.

PATIENT(Patient_ID,Room_Number,Admit_Date, Address)

ROOM(Room_Number,Phone,Daily_Rate)

PATIENT(Patient_Number,Treatment_Description, Address)

TREATMENT(Treatment_ID,Description,Cost)

PHYSICIAN(Physician_ID,Name,Department)

PHYSICIAN(Physician_ID,Name,Supervisor_ID)

A. Merge these relations into a consolidated set of 3NF relations. State whatever assumptions you consider necessary (including but not limited to foreign keys) to resolve any potential problems you identify in the merging process.

B. Draw an E-R diagram for your answer to Problem and Exercise 9-46a

Solutions

Expert Solution

(A) The list of individual 3NF relations are merged into a consolidated set of 3NF relations as follows:

Let us consider first the two PATIENT relations in 3NF which can be merged:

PATIENT(Patient_ID, Room_Number, Admit_Date, Address)

PATIENT(Patient_Number, Treatment_Description, Address)

This shall be now written as PATIENT (Patient_ID, Room_Number, Admit_Date, Treatment_Description, Address)

Similarly, there are two PHYSICIAN relations in 3NF which can be merged:

PHYSICIAN(Physician_ID, Name, Department)

PHYSICIAN(Physician_ID, Name, Supervisor_ID)

This shall be now written as PHYSICIAN (Physician_ID, Name, Department, Supervisor_ID)

The remaining two relations can be written as it is:

ROOM(Room_Number, Phone, Daily_Rate)

TREATMENT(Treatment_ID,Description,Cost)

In the above 3NF relations, We could see that PATIENT relation has the Treatment_Description field which shall be taken from TREATMENT relation - Description field.

Assumptions

However, we can make use of Treatment_ID field which is the PRIMARY KEY in TREATMENT relation as the FOREIGN KEY in PATIENT relation to refer the Treatment_Description and to finetune it for achieving Referential Integrity.

Now, the PATIENT relation becomes PATIENT (Patient_ID, Room_Number, Admit_Date, Treatment_ID, Address)

Next, in PHYSICIAN relation, we are having one Supervisor_ID field which is hanging out separately. So, we have to consider one more relation - SUPERVISOR for merging into this consolidated 3NF.

SUPERVISOR (Supervisor_ID, Department)

Further, we could also assume two other fields - Patient_Name which can be added into PATIENT relation and Supervisor_Name that can be added into SUPERVISOR relation for better understanding and results.

​​​​​​​


Related Solutions

Answer should be clear and good handwriting if the answer is not correct and not clear...
Answer should be clear and good handwriting if the answer is not correct and not clear i will give 5 dislikes from me and my friends dont copy and paste from previous chegg answers use white paper to answer if u dont know the correct ans its better to skip my question 3. (15) Imagine we lived in a four-dimensional world (!), there would be one s, four p and nine d orbitals in their respective subshells. a. Develop a...
Please I need a clear explanation and clear handwriting with explanaing this for me because I...
Please I need a clear explanation and clear handwriting with explanaing this for me because I am realy confused and need help. Thanks in advance My lab was about  Magnets and Magnetic fields. This is the question I need to answer for! R3: Explain how a speaker works by explaining why each part is required. after that Summarize R3’s answer by explaining why the proffesor homemade earbud is so much superior to the one that you made.
Hi Please be clear with your handwriting and show steps. label the answer. Provide a description...
Hi Please be clear with your handwriting and show steps. label the answer. Provide a description of the advantages and disadvantages of these various anemometer types Cup Anemometer Paddle/Vane Anemometer Ultrasonic Anemometer Hot-Wire Anemometer
I am trying to understand a few injection molding calculations. I will appreciate your assistance. How...
I am trying to understand a few injection molding calculations. I will appreciate your assistance. How do I calculate part weight for plastic injection molding? Is it mass * density or volume * density? My part is 29.126 grams and I am using  Polypropylene (PP) which has a density of 0.899 g/cm3 . Therefore : 29.126 * 0.899= 26.184 grams To convert to ounce: 26.184* 1/28.3495=0.9236 ounce Is the above correct? How do I calculate shot weight?  Please explain clearly and give...
I am trying to understand a few injection molding calculations. I will appreciate your assistance. How...
I am trying to understand a few injection molding calculations. I will appreciate your assistance. How do I calculate part weight for plastic injection molding? Is it mass * density or volume * density? My part is 29.126 grams and I am using  Polypropylene (PP) which has a density of 0.899 g/cm3 . Therefore : 29.126 * 0.899= 26.184 grams To convert to ounce: 26.184* 1/28.3495=0.9236 ounce Is the above correct? How do I calculate shot weight?  Please explain clearly and give...
Please: Answer all of below &Clear and briefly answer & Clearly identifiable handwriting or computer typing...
Please: Answer all of below &Clear and briefly answer & Clearly identifiable handwriting or computer typing This is a problem related to the growth of nanomaterials. Describe the implementation of vapor-liquid-solid (VLS) method to grow a nanowire. Please indicate what are the key ingredients or processes involved? When a nanoparticle is subject to optical characterization, its spectra often show blue or red-shift comparing with its bulk counterpart. Please list the possible reasons in optical ranges of the visible and the...
Please: Answer all of below &Clear and briefly answer & Clearly identifiable handwriting or computer typing...
Please: Answer all of below &Clear and briefly answer & Clearly identifiable handwriting or computer typing Please give arguments about what determines the width of a ferromagnetic domain wall?
Please provide me with the right answer and clear handwriting . Thanks Identify the hormones and...
Please provide me with the right answer and clear handwriting . Thanks Identify the hormones and neurotransmitters that modulate learning and memory
******Please don't use handwriting and i need unique answer ... Thank you Q3: Consider the following...
******Please don't use handwriting and i need unique answer ... Thank you Q3: Consider the following relation: Student-Dept = (Student-ID, Course, SportActivity, Dept-Name, Building) Having following multivalued dependencies:             F ={ Student-ID ®® Course                    Student-ID ®® SportsActivity                      Dept-Name ®® Building } Explain in your own words why the Student-Dept relation is not in 4NF. Then, convert the Student-Dept relation in 4NF. Also, provide the justification for each step you perform during normalization (4NF). Note: The SportActivity here...
******Please don't use handwriting and i need unique answer ... Thank you Q3: Consider the following...
******Please don't use handwriting and i need unique answer ... Thank you Q3: Consider the following relation: Student-Dept = (Student-ID, Course, SportActivity, Dept-Name, Building) Having following multivalued dependencies:             F ={ Student-ID ®® Course                    Student-ID ®® SportsActivity                      Dept-Name ®® Building } Explain in your own words why the Student-Dept relation is not in 4NF. Then, convert the Student-Dept relation in 4NF. Also, provide the justification for each step you perform during normalization (4NF). Note: The SportActivity here...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT