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.
Figure 3.6
![1567_3d38859f-ea6e-48ac-a1cc-f1e3d0a74619.png](https://secure.tutorsglobe.com/CMSImages/1567_3d38859f-ea6e-48ac-a1cc-f1e3d0a74619.png)