Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE HELP ME ANSWER MY ITM-315(DATABASE SYSTEMS) questions. PLEASE USE Microsoft Access to answer the questions. For some queries, the save button may not appear

PLEASE HELP ME ANSWER MY ITM-315(DATABASE SYSTEMS) questions. PLEASE USE Microsoft Access to answer the questions.

For some queries, the save button may not appear after running the query. Use file>save where necessary to save the queries.

Create and save the following queries (save as query 1 through query 14) in the provided database: hotel spring 18 ch 10. Rename the database as hotel spring 18 ch 10lastname or hotel spring 18 ch10lastnameandlastname and submit via blackboard by the due date/time.

Query1: Add an Amenity table to the database with the following columns: hotel_id and amenity_name (assume amenity names are unique). hotel_id should be designated as a foreign key referencing the hotel table. Hint: use integer as the data type for hotelno. Make sure to designate the primary key-which is the combination of hotel_ID and Amenity name.

Query 2: Add a column to the appropriate table to record the state the hotel is in.

query 3: change the name of the Holiday Inn in Tulsa to Holiday Inn Deluxe

query 4: delete room 123 in hotel 6 from the database

query 5: Add the following amenity to the database: hotel 6 has a swimming pool.

Query 6: Create a query that shows all of the guests and the bookings of those rooms. The result should include all guests, even those guests that have not booked any rooms. Show the guestNo, guestFirst, guestLast, HotelNo aand roomNo in the result.

Query 7. How many bookings have there been in each city?

Query 8: List each employees first name, last name, their hotelNo, their managers first name and their managers last name.

Query 9 which guests have yahoo email accounts?

Query 10. which hotel (by name) has the most expensive room ?

query11 which guests (by name) have not booked rooms in hotel 1?

Query 12. what is the average price of hotel rooms in Stillwater?

Query 13. List the count of the single rooms for each hotel for any hotel that has less than 2 single rooms.

query 14: drop the standard price column from the room table.

HOTEL SPRING DATABASE

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

All Access Obje...og employee guest l hotelE room guestNo dateFrom dateTo roomNo ratebooked Click to Add Tables 8/3/2016 2/1/2015 8/4/2016 2/6/2015 13/13/2016 3/15/2016 8/9/2014 8/10/2014 2/8/2015 7/5/2016 3/1/2015 2/4/2015 6/4/2014 3/7/2015 23/10/2015 3/15/2015 2/6/2015 2/4/2014 9/8/2015 9/15/2015 3/9/2016 3/14/2016 2/2/2015 015 3/6/2016 3/26/2016 3/31/2016 13 5/12/2014 5/13/2014 2/8/2015 11 5/11/2014 5/12/2014 8 4/15/20164/18/2016 4/4/2015 4/4/2016 4 3/11/2016 3/15/2016 2/6/2015 2/7/2015 2/6/20152/10/2015 9 4/15/20164/18/2016 3 3/22/2016 3/25/2016 10 2/22/2015 2/24/2015 10 3/12/20143/13/2014 401 72 booking 101 E employee E guest 2/3/2015 7/3/2016 1 2/28/2015 2/3/2015 11 5/31/2014 3/5/2015 hotel room 101 212 91 100 100 100 100 100 110 110 2 2/4/2015 3 1/31/2014 401 2/1/2015 25/18/2015 5/23/2 2 3/4/2016 210 421 130 2/5/2015 135 4/1/2015 4/1/2016 160 160 160 212 214 2/5/2015 2/1/2015 412 411 321 410 312 312 4 190

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

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

Solve: 3x 2 - 2x = -1

Answered: 1 week ago

Question

1. Which is the most abundant gas presented in the atmosphere?

Answered: 1 week ago