Question: 2 a . State the functional dependencies. ( Assume that different patients can have the same zip code - PatZip ) 2 b . Transform
a State the functional dependencies. Assume that different patients can have the
same zip code PatZip
b Transform this table into one or more tables in BCNF State the primary keys,
candidate keys, foreign keys, and referential integrity constraints.
For the following Customer and Order tables, a first describe the problem with each
table, then b explain the fixes needed to comply with BCNF
Given the following sheet APPOINTMENT
Suppose that the data of the above sheet shows all possible functional dependencies. Note
surgeryNo is the code of treatmentprocedure a patient receives for the appointment of visit. The
copay for each visitprocedure received depends on the patients and their primary insurance
policy.
a List a set of functional dependencies based on your analysis on the information in the above
table.
b Based on your answer to a define the key of the table
APPOINTMENT StaffNo DentistName, patientNo, patientName, AppointmentDatetime
SurgeryNo, PatientInsurance, Copay
c What normal form above table is in and WHY? Note you need to correctly answer questions
a and b in order to answer this question correctly
d What modification anomalies this table suffers be as specific as possible, refer to the
textbook's examples
e Normalize in BCNF table APPOINTMENT based on FDs you listed. Show the result of
normalization. Clearly indicate keys underline and foreign keys italicize if there is any
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
