Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Knowing that one reservation can book more than one room and one room may be booked by more than one reservation, at different times, and

image text in transcribed

Knowing that one reservation can book more than one room and one room may be booked by more than one reservation, at different times, and the same room may have different prices in different reservations, analyze the given schema: ResRoom = (Res_No, Deadline, State, {Room-id}, price, type) (i) {20 points} Draw all functional dependencies (fds) (ii) {5 points} Create a meaningful snapshot by populating the table ResRoom with, at least, 5 rows (iii) {5+5+5 points} Discuss insertion, deletion and modification anomalies (iv) {10 points} Is ResRoom in INF? If yes WHY? If not modify ResRoom so as to put it in INF. Let us call ResRoomla and ResRoomlb the (only) 2 relations resulting out of this step (v) {10 points} Draw the fds of ResRoomla and ResRoomlb (vi) {25 points} Are ResRoomla and ResRoomlb in 2NF? If yes WHY3? If not modify them so as to put it in 2NF. Let us call ResRoom2a and ResRoom2b the new relations, i.e. the relation resulting out of this step (vii) {10 points} Draw the fds of ResRoom2a and ResRoom2b (viii) {5 points} Are ResRoom2a and ResRoom2b in 3NF? If yes WHY? If not, modify them so as to put them in 3NF

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

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago