DocPatientAppointments Table DrName John Smith ... PatientAge ClinicID CI C2 AppDate 15-Jun-21 DRID CIBlock DrRank Senior PatID PatientName D18 P70 Abdulla Ali 12 1044 Qasim Ahmed Fatima Sami POS 35 904 16-Jun-21 350 15-Jul-21 18-Jul-21 20-Sep-21 D59 Ahmed Nasir Prof P93 C3 POS Qasim Ahmed Sameer Omar 35 C2 904 P81 62 C3 350 a) Why is the above table un-normalized? b) One way to transform the above table into 1NF is to flatten the table? Briefly explain how the flattening process is done.

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question
Consider the following relation which has been designed to store data about medical doctors, clinics, patients, and appointments.
Important Assumptions:
The patient is given an appointment with a doctor.
The patient always visits the same clinic, but the doctor works in different clinics.
DocPatientAppointments Table
DrName
PatientName
Abdulla Ali
PatientAge ClinicID
AppDate
15-Jun-21
DrID
DrRank
PatID
CIBlock
D18
John Smith
Senior
P70
12
1044
16-Jun-21
15-Jul-21
Qasim Ahmed
Fatima Sami
Qasim Ahmed
Sameer Omar
POS
35
C2
904
Ahmed Nasir Prof
P93
POS
P81
D59
7.
C3
350
35
C2
904
18-Jul-21
62
C3
350
20-Sep-21
a) Why is the above table un-normalized?
b) One way to transform the above table into 1NF is to flatten the table? Briefly explain how the flattening process is done.
c) identify all Functional Dependencies (FD) from the above table. Each of the FDs is going to represent a stand-alone table. Make
sure none of the produced tables contains neither partial nor transitive dependencies. [Hint: there are 4 FDs).
Use the editor to format your answer
Transcribed Image Text:Consider the following relation which has been designed to store data about medical doctors, clinics, patients, and appointments. Important Assumptions: The patient is given an appointment with a doctor. The patient always visits the same clinic, but the doctor works in different clinics. DocPatientAppointments Table DrName PatientName Abdulla Ali PatientAge ClinicID AppDate 15-Jun-21 DrID DrRank PatID CIBlock D18 John Smith Senior P70 12 1044 16-Jun-21 15-Jul-21 Qasim Ahmed Fatima Sami Qasim Ahmed Sameer Omar POS 35 C2 904 Ahmed Nasir Prof P93 POS P81 D59 7. C3 350 35 C2 904 18-Jul-21 62 C3 350 20-Sep-21 a) Why is the above table un-normalized? b) One way to transform the above table into 1NF is to flatten the table? Briefly explain how the flattening process is done. c) identify all Functional Dependencies (FD) from the above table. Each of the FDs is going to represent a stand-alone table. Make sure none of the produced tables contains neither partial nor transitive dependencies. [Hint: there are 4 FDs). Use the editor to format your answer
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Threats
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning