You are responsible to help design this database for the hospital. a) What relationship (one-to-one, one-to-many, many-to-many) exists between NURSE and PATIENT?. b) How many tables would be needed to implement the relationship as indicated in (a)? List out the attributes in cach table, indicating which field(s) form the primary key, and which field is the foreign key (if foreign key exists).

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
A hospital would like to set up a database recording which registered nurse looked after which
patient etc. Each registered nurse has a unique nurse ID, and each patient has a unique patient ID,
and the following attributes are found for nurses, and patients in the first round of design:
NURSE: nurselD, sumame, first name, birthdate, dept-code, sex, salary-level
PATIENT: patientID, surname, first name, birthdate, wardID, sex, admission_date, discharge_date
A recent duty list shows the patients that were cared by cach nurse in past 2 months, sce below for
some samples:
nurselD
patientID
N0140000
P123, P234, P883, P678
N0172222
P234, P334, P222, P883
N0182222
P243, PI23, P883, P888
N0163333
P111, P123
N0164444
P222, P234
You are responsible to help design this database for the hospital.
a) What relationship (one-to-one, one-to-many, many-to-many) exists between NURSE and
PATIENT?.
b) How many tables would be needed to implement the relationship as indicated in (a)? List out
the attributes in cach table, indicating which field(s) form the primary key, and which field is
the foreign key (if foreign key exists).
Transcribed Image Text:A hospital would like to set up a database recording which registered nurse looked after which patient etc. Each registered nurse has a unique nurse ID, and each patient has a unique patient ID, and the following attributes are found for nurses, and patients in the first round of design: NURSE: nurselD, sumame, first name, birthdate, dept-code, sex, salary-level PATIENT: patientID, surname, first name, birthdate, wardID, sex, admission_date, discharge_date A recent duty list shows the patients that were cared by cach nurse in past 2 months, sce below for some samples: nurselD patientID N0140000 P123, P234, P883, P678 N0172222 P234, P334, P222, P883 N0182222 P243, PI23, P883, P888 N0163333 P111, P123 N0164444 P222, P234 You are responsible to help design this database for the hospital. a) What relationship (one-to-one, one-to-many, many-to-many) exists between NURSE and PATIENT?. b) How many tables would be needed to implement the relationship as indicated in (a)? List out the attributes in cach table, indicating which field(s) form the primary key, and which field is the foreign key (if foreign key exists).
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY