The following tables form part of a database held in a relational


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,


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.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more