Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a hospital in which each doctor is responsible for many patients while each patient is cared for by just one doctor. Each doctor has

Consider a hospital in which each doctor is responsible for many patients while each patient is cared for by just one doctor. Each doctor has a unique employee number, name, telephone number, and office number. Each patient has a unique patient number, name, home address, and home telephone number.

a. What kind of relationship is there between doctors and patients?

b. Develop sample doctor and patient data and construct two files in the style of Figure 3.5 in which to store your sample data.

c. Do any fields have to be added to one or the other of the two files to record the relationship between doctors and patients? Explain.

d. Merge these two files into one, in the style of Figure 3.6. Does this create any problems with the data? Explain.

image text in transcribed
FIGURE 3.5 Three files with redundont doto Sales file Customer Customer Address Numbe Nome 2746795 John Jones 123 Elm Street, ACcounts Receivable file Customer Customer Customer Number Address Nome 2746795 John Jones 123 Elm Street Credit file Customer Customer Customer Address Numbe Nome 2746795 John Jones 123 Elm Street FIGURE 3.6 Three files with a dataintegrity problem Soles file Customer Customer Customer Number Address Nome 2746795 John Jones 456 Oak Street Accounts Receivable file Customer Customer Customer Number Address Name 2746795 John Jones 456 Oak Street Credit file Customer Customer Customer Nome Number 2746795 John Jones 23 Elm Street

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions