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
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 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
D4/MIS: Please make sure the answer should be in your won words. I would appreciate if...
D4/MIS: Please make sure the answer should be in your won words. I would appreciate if you provide the articles Read four (4) academically reviewed articles on Net Neutrality and Summarize all four (4) articles in at least 30 sentences words or more.
I need a short and clear opinion so I can understand the question and make my...
I need a short and clear opinion so I can understand the question and make my own opinion Writing in the 19th century, the British economist Thomas Malthus argued that the law of diminishing marginal returns implied eventual misery for humanity because, in the case of agriculture, there is a fixed amount of available land and additional labor would only yield ever smaller increases in food production. The inevitable result, as Malthus saw it, was that population growth would eventually...
Please try to type your solution for this question, so I can read it without a...
Please try to type your solution for this question, so I can read it without a problem. I truly appreciate you for typing in advance. The Question: An FBI survey shows that about 80% of all property crimes go unsolved. Suppose that in your town 3 such crimes are committed and they are each deemed independent of each other. X is the number of crimes will be solved in your town. Complete the table below for the probability mass function...
Please try to type your solution for this question, so I can read it without a...
Please try to type your solution for this question, so I can read it without a problem. I truly appreciate you for typing in advance. The Question: For some Mechanical Engineer students, data for 224 student’s GPAs in their first 4 semesters of college were compared using several predictors, namely HSM, HSS, HSE, SATM, and SATV. Here significant level α is 0.05. Then, the researcher fit a regression model and got the following results (intercept is included in the model):...
FAST ANSWER PLEASE FOR BUFFER SOLUTION QUESTION. Would appreciate full working out thanks. Solution C is...
FAST ANSWER PLEASE FOR BUFFER SOLUTION QUESTION. Would appreciate full working out thanks. Solution C is made by mixing 55.6 mL of 0.16 M ammonium chloride (NH4Cl) with 60.3 mL of 0.26 M ammonia solution. pKa(NH4+) = 9.24 a) Calculate the pH of Solution C. b) Calculate the pH of the buffer Solution C if 0.14 g of NaOH (molar mass = 40.0 g/mol) is added (assuming no change in volume).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT