DBST 651 Midterm Part II: Database Normalization and Integrity Analysis
Explores database normalization and data integrity techniques.
Lucas Taylor
Contributor
4.5
43
6 months ago
Preview (3 of 9 Pages)
100%
Purchase to unlock
Page 1
Loading page ...
DBST 651 Midterm Part II: Database Normalization and IntegrityAnalysisDBST 651Midterm Part IIName:Date:Question 1:The table shown below lists dentist-patient appointment data.A patient isgiven an appointment at a specific time and date with a dentist located at aparticular surgery.On each day of patient appointments, a dentist isallocated to a specific surgery for that day.StaffNoDentist NamePatNoPatNameAppointment Date& TimeSurgeryNoS1011S1011S1024S1024S1032S1032James BondJames BondAndrew JoeAndrew JoeKevin KingKevin KingP100P105P108P108P107P110Kim SuJenny GoldIan ChappellIan ChappellJohn SpoonerFrank Holey1/9/05 10.001/9/05 12.001/9/05 10.002/7/05 14.002/7/05 16.302/7/05 18.00S10S15S10S10S15S13Evaluate if the table shown above is normalized, if not describe and illustratethe process of normalizing the table shown above to third normal form.State any assumptions you make about the data shown in this table.(15Points)Solution:To be in 3NF every columnmustrelate to the superkey and it canonlyrelate tothe superkey.In the current table this does not hold and it is not 3NF.Trivially, the current superkey is(StaffNo,PatNo,SurgeryNo)but there are many violationsto this which are realized in the form of duplicated values. Namely:•A Patient Name only depends on the Patient; not the Staff or the Surgery•A Staff Name only depends on the Staff member; not the Patient or the Surgery•A Surgery [type] depends on the Staff/Patient/Appointment Date
Page 2
Page 3
Preview Mode
This document has 9 pages. Sign in to access the full document!