10 Sep The following tables form part of a database held in a relational DBMS : Hotel (hotelNo, hotelName, city) Room (roomNo, hotelNo, type, price) Booking (hotelNo, guestNo, dateFrom, da
The following tables form part of a database held in a relational DBMS :
Hotel (hotelNo, hotelName, city) Room (roomNo, hotelNo, type, price) Booking
(hotelNo, guestNo, dateFrom, dateTo, roomNo) Guest (guestNo, guestName,
guestAddress)
where Hotel contains hotel details and hotelNo is the primary key ; Room contains
room details for each hotel and (roomNo, hoteINo) forms the primary key ; Booking
contains details of bookings and (hoteINo, guestNo, datFrom) forms the primary key;
Guest contains guest details and guestNo is the primary key
a. Identify the foreign keys in this schema. Explain how the entity and referential
integrity rules apply to these relations.
b. Produce some sample tables for these relations that observe the relational
integrity rules. Suggest some general constraints that would be appropriate for
this schema.
c. Analyze the RDBMSs that you are currently using. Determine the support the
system provides for primary keys, alternate keys, foreign keys, relational
integrity, and views.
d. Implement the above schema in one of the RDBMSs you currently use.
Generate two user-views that are accessible and updatable as well as two
other user-views that cannot be updated.
Exercise 2 :
Assume you have been contracted to develop a database system for a university
library. You are required to use a systems development lifecycle approach. Discuss
how you are going to approach the project. Describe user groups that will be involved
during the requirement analysis. What are the key issues that need to be answered
during fact finding?
Exercise 3 :
Create an ER model for each of the following descriptions:
a. A large organization has several parking lots, which are used by staff.
b. Each parking lot has a unique name, location, capacity, and number of floors
(where appropriate).
c. Each parking lot has parking spaces, which are uniquely identified using a
space number.
d. Members of staff can request the sole use of a single parking space. Each
member of staff has a unique number, name, telephone extension number,
and vehicle license number.
e. Represent all the ER models described in parts (a), (b), (c), and (d) as a single
ER model. Provide any assumptions necessary to support your mode.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
Do you need help with this question?
Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.
WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.
With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Chat with us today! We are always waiting to answer all your questions.