What is the average standard price of rooms in hotel 2

Assignment Help Database Management System
Reference no: EM131842186

Individual Assignment

1. A small city government would like your help developing a data model and database for local parks.

a. Draw a data model (ERD) for a PARK entity with the attributes: ParkID, ParkName, Park Address, and ParkEstablishDate. Add 2 more attributes that you think the city practice might like to record for each park.

Copy this entity into the grade sheet on page 2BELOW the grading sheet and Submit this as a Word document named using the following convention LastNameHMWK1Model (fullerHMWK1Model).

b. Create a table (in a new database) in MS ACCESS for the PARK entity and attributes described above. Make sure to choose an appropriate data type for each field. Save your database using the convention LastNameHMWK1DB (e.g., FullerHMWK1DB). Make sure to designate the primary key.

c. Add data to your table. Add 3 records (rows) to your database. You should incorporate yourlast name in the name of one of the parks . Aside from your name, the rest of the data should be fictitious.

2. Using Access and the hotelSpring18 database, code the SQL for the following queries. You will create and save each query separately and name the queries query 1 through query 7. Please be sure to save each query under the appropriate name.

The query you save under query 1 will be graded as query 1, etc. Each problem must be answered with a single query om a single table as demonstrated in Chapter 3. Do not change any of the data in the hotel spring 18 database. Rename this database to include your last name (e.g., hotel spring 18 Fuller) and submit.

Query1: List the first name, last name and street addresses of any guests that have a street name that includes "Main"

Query 2: Which guests (by number-do not add additional columns to your answer), booked rooms for less than $100. Order the result in ascending order by guest number. If any guest has booked more than 1 room for less than $100, only list that guest one time.

Query 3: List all of the information for rooms in hotel 4.

Query 4: List the bookings (by hotelNo and roomNo) in hotel 5 that began during may 2014

Query 5: How many times has guest 8 booked rooms in hotel 2?

Query 6: What is the average standard price of rooms in hotel 2? Label the resulting column as "Hotel2Average"

Query 7:List the hotels (by name and location) that are not located in Stillwater or tulsa.

Reference no: EM131842186

Questions Cloud

What defenses will the bank assert : Assume that the jurisdiction does not recognize assumption of risk or contributory negligence. The jurisdiction does recognize the defense of comparative.
Why do nonhuman animals deserve or not deserve : Why do nonhuman animals deserve or not deserve moral consideration? What, if anything, makes us morally different from animals?
What causes and factors contributed to the health disparity : Provide two examples of social institutions that are prevalent in American society and explain their functions. How have social institutions played
What assumptions are necessary for part 1 to be true : -Does your argument give good reasons to believe these assumptions are true, or is it just an example of those assumptions?
What is the average standard price of rooms in hotel 2 : List the first name, last name and street addresses of any guests that have a street name that includes "Main"
Something of intrinsic value : According to Aristotle, if we're not motivated by something of intrinsic value, our choices are irrational. Why does he think this
Explain one criticism of both mill and kant : Explain one criticism of both Mill and Kant. Afterward, argue for which ethical approach, on your view is superior. Be specific and provide reasons
Calculate the expected rate on five year treasury bond : Determinants of Interest Rates for Individual Securities. Calculate the expected rate on a 5-year Treasury bond purchased five years from today, E(5r5).
Affirmative proposition : Under what circumstances could one deny the consequent (modus tollens) with an affirmative proposition?

Reviews

Write a Review

Database Management System Questions & Answers

  Create an e-r diagram relating table of your database schema

Create an Entity-Relationship (E-R) Diagram relating the tables of your database schema through the use of graphical tools in Microsoft Visio or an open source alternative such as Dia.

  Identifies all the stakeholders relevant to the system

Analyse the Case Study documents and produce a Vision document for a software system to meet the needs identified in the Case Study. Make sure your Vision document.

  To write required sql statements to query the database

You may need to rerun the schema, especially when you have been experimenting with your solutions and may have corrupted the database unintentionally. If you suspect that there might be such problems, rerun the schema.

  Explain the apache web server in regard to cost

Discuss the Apache Web server in regard to cost, functionality, and compatibility. Are there certain implementations were it may not be suitable

  Create a relationship between the employees and sales tables

Create a relationship between the Employees and Sales tables. Save the relationship. A form and subform of sales by the salesperson. Name this form Employee Sales. Use the attached layout on page 5. (use the Zoom icon to make form readable)

  Design a database solution and the potential business rules

Identify the potential sales and department store transactions that can be stored within the database. Design a database solution and the potential business rules that could be used to house the sales transactions of the department store.

  Design a single table to hold all of the information

Design a single table to hold all of the information required to store an invoice including this information - apply normalization to reduce this table

  Show the view defnition statements for employeenames and

You want to authorize your secretary to ?re people (you will probably tell him whom to ?re, but you want to be able to delegate thistask), to check on who is an employee, and to check on average department salaries. What privileges should you grant?

  Possible areas of investigation for poster projects

Tentative list of possible areas of investigation for poster projects - Poster projects must be intended as an opportunity for student groups to investigate data mining/computational/statistical simulation problems and applications that interests ..

  Write the oracle function for the given queries

Why does the order of the operands (tables) matter in an EXCEPT (MINUS) query but not in a UNION query?

  Create a request for proposal

Investigate learning management software packages that are available through application service providers. Using the World Wide Web, identify at least two potential sources of such software.

  Determine the functional dependencies

After determining the functional dependencies, convert this table to an equivalent collection of tables that are in third normal form.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd