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 System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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 System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education