Question: 1. Identify the foreign keys in this Schemal. Explain how the entity and referential integrity rules apply to these relations. Hotel (hotelNo, hotelName, city) Room
1. Identify the foreign keys in this Schemal. Explain how the entity and referential integrity rules apply to these relations. Hotel Cotelia, notelume oty) Schema. I 2. Students can lease university flats and some of the details of leases held by students for places in university flats are shown in Fig 1. Describe and illustrate the process of normalizing the attributes shown in Fig 1 to produce a set of well-designed 3NF, relations. (Note: A place number uniquely identifies each single room in all flats and is used when leasing a room to a student). Fig 1: Table displaying sample data for university accommodation. 3. Describe the three functional components of the DBMS environment. b. Discuss how they relate to each other? 4. a. Discuss the differences between the candidate keys and the primary key of a relation. b. Explain what is meant by a foreign key. c. How do foreign keys of relations relate to candidate keys? Give examples to illustrate your answer. 5. Examine the Patient Medication data shown in Figure 1 a. Identify the functional dependencies represented by the attributes. State any assumptions that you make about the data and the attributes shown in this figure. b. Describe and illustrate the process of normalizing the attributes shown in figure to produce a set of welldesigned 3NF relations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
