You are on page 1of 3

c 


 c  


Design and construct a database system or Misty Valley Country Inn.


  

You are required to create a database system for Misty Valley Country Inn which
include the following task:
1. Create the appropriate table for the database
2. Create query and reports
a) Create a summation query that will calculate the amount of money
generated by each room¶s rental
b) Create a select query that lists all reservations for the current week. The
output should be room number, floor, check in date, and check out date.
3. Generate a report that groups each customer and shows the dates they stayed
at B&B and how much money they spent renting the room
    

The time given is only  . Your database system is marked based on the task
assigned. The test will be on    !" !. 

NOTE: Lab on    !" !is mandatory and you will
receive a 0 if you do not attend this lab test on that day

" 

Ñ this assignment is worth 25% of the module mark

  

Students must attend lab classes in order to be eligible for all the tasks.

    

Ñ plagiarism will not be tolerated


Ñ this means copying , cutting and pasting elements from other sources is
forbidden
Ñ all parts of the work have to be generated by you only
Ñ penalties for plagiarism are severe ± do not ignore this warning - University
rules apply
Ñ you may not use any material that you have submitted or are working on for
any other module, course, project, or employment
Ñ when you register on the module you automatically agree with all the
conditions and penalties described above
" # $ 

Fran and Stella Sardino own and run a small bed and breakfast, called the Misty
Valley Country Inn, in the Pocono Mountains of eastern Pennsylvania. They attract
repeat customers during two busy periods of the year: In winter, customers are attracted
by holiday shopping at the local factory outlets and snow skiing; in spring, customers
are attracted by the local golf course. The remainder of the year, their seven-unit inn
remains fairly empty. After some researching on internet, Fran discovers that the Misty
Valley Country Inn could join a national chain called Bed and Breakfast Inns of America
(BBIA). By joining this chain, their inn would have access to a wider variety of marketing
outlets to generate more business.
Fran and Stella contact BBIA, and the president is excited about adding another
inn to the group; however, he requires the Sardono sisters to computerize their
reservation systems, not knowing anything about computers or databases, the Sardinos
contact your college and hire you as a consultant to create the reservation system.
According to the computer database specifications of the BBIA, each inn is required to
have three tables in their reservation database. One table, the ROOMS table contains
data about the configuration of the room (number of double beds, number of single
beds), where it is located in the inn (which floor), whether it is ³on -suite´ (meaning it has
its own private bathroom) and the cos per night. Another table, CUSTOMERS, keep
track of the particulars of each customer, including their name, address, telephone
number and whether they bring their pets during the spring cat and dog shows. Pets are
allowed at the inn if an extra deposit is submitted when checking in. some guests like to
bring their pets during the spring cat and dog shows. The third and final table,
RESERVATIONS, provides each customer with a customer ID number and records the
room number reserved for each customer on specific dates. Additional information such
as deposits, will continue to be kept by hand until the owners are comfortable the
computer system.
The Sardino sisters want to use this database to determine which rooms are
generating the most income. If they find that a certain type of room is much more
popular than another, they may reconfigure their B&B to fit their customer needs. So,
the first query will sum the amount of money generated by each room, in order of the
most money generated to the least.
In addition, there are times when the owners are very busy and need to quickly
answer questions about room availability. They will need another query to list the rooms
book for a certain week.
Finally, because the sisters have so many repeat customers, they would like to
cater to their best clientele. To target these customers, they need a report that lists each
customer, the nights stayed, and the amount of revenue that each customer generates.
?

You might also like