Design tables import data from access and excel

Assignment Help Database Management System
Reference no: EM131321993

Hotel Reservations

Project Description:

The main portion of the resort is the hotel. The hotel wants to store information about hotel guests, reservations, and rooms. You will design tables, import data from Access and Excel, and create relationships. Then you will be able to create queries and reports from the data.

Instructions:

For the purpose of grading the project you are required to perform the following tasks:

Instructions

1 Start Access. Open the downloaded file named a01_grader_h1.accdb. Save the file with the name a01_grader_h1_LastFirst, replacing LastFirst with your name. In the Security Warning bar, click Enable Content.

2 Import a table from the downloaded Access database a01_grader_h1_Guest.accdb selecting the tblGuests table. Do not save the import steps.

3 Open tblGuests. In record 25, change GuestLastName to Student and GuestFirstName to Access. Close the table.

4 Create a new table in Design view. This table will store reservations. Add the following fields, data types, and descriptions, in this order. Change field sizes as noted.

Field Name             Data Type          Description  Field Size/Format
ReservationID        AutoNumber      A unique identifier for the reservationLong Integer
GuestID                Number            Theguest id from tblGuests (foreign key)Long Integer
RoomNumber         Short Text                                  30
CheckInDate          Date/Time                                   Short Date
NightsStay            Number                                       Integer
NumberOfGuests   Number                                       Integer

Assign ReservationID as primary key. Save the new table as tblReservations. Close the table.

5 Import the downloaded file a01_grader_h1_Reservations.xlsx from Excel, using the tblReservations worksheet and appending it to tblReservations. The Excel column headers match the Access field names so you can use them. Do not save the import steps.

6 Use the Form tool to create a form for tblReservations, and then save the form as frmReservations_aStudent.

7 Enter the following data into the append record in frmReservations_aStudent.
GuestID = 25, RoomNumber = 105, CheckInDate = 4/20/2015, NightsStay = 8, and NumberOfGuests = 1. Close the form.

8 Create a new table in Design view. This table will store information about the hotel rooms. Add the following fields, data types and field sizes in this order:

Field Name           Data Type      Field Size
RoomNumber       Short Text     30
RoomType           Short Text     20

Assign RoomNumber as the primary key. Save the new table as tblRooms. Close the table.

9 Import the hotel rooms from the downloaded text file a01_grader_h1_Rooms.csv, appending it to tblRooms. Ensure that Delimited, Comma, and First Row Contains Field Names are selected. Do not save the import steps.

10 Open the Relationships window. Add tblGuests, tblReservations, and tblRooms. Create a one-to-many relationship between GuestID in tblGuests and GuestID in tblReservations. Enforce referential integrity. Do not cascade update or cascade delete.

11 Create a one-to-many relationship between RoomNumber in tblRooms and RoomNumber in tblReservations. Enforce referential integrity. Do not cascade update or cascade delete. Save the changes.

12 Create a relationship report, saving it with the report name Relationships for a01_grader_h1. Close the report and close the Relationships window.

13 Use the Simple Query Wizard to create a query. The query results should list GuestID, GuestFirstName, GuestMiddleInital, GuestLastName, CheckInDate, NightsStay, and RoomType (in that order). Save your query as qryMyRservations_aStudent and then run the query.

14 In Design view, enter criteria to select the guest with GuestID = 25. Sort in ascending order by CheckInDate. Run and then save the query. Close the query.

15 Create a report using the Report Wizard. Add ReservationID, CheckInDate, NightsStay, and RoomType (in that order). View by tblRooms. Sort by CheckInDate and ReservationID in ascending order (in that order). Accept all other defaults. Name your report rptReservations_aStudent and then finish the wizard.

16 View the report in Layout view. Modify the report title to be Reservations Report by A Student. Save and then close the report.

17 Close the database, and submit as directed.

Attachment:- Data.rar

Reference no: EM131321993

Questions Cloud

What are quasi experimental research designs : What are quasi-experimental research designs, and when are they used in behavioral research? What advantages and disadvantages do they have in comparison to experimental research?
Massless spring of spring constant : At t = 0 a block with mass M = 5 kg moves with a velocity v = 2 m/s at position xo = -.33 m from the equilibrium position of the spring. The block is attached to a massless spring of spring constant k = 61.2 N/m and slides on a frictionless surfac..
Compute c on both a single core shared memory : Assume that we are going to compute C on both a single core shared memory machine and a 4-core shared-memory machine. Compute the speedup we would expect to obtain on the 4-core machine, ignoring any memory issues.
What are time series research designs : What types of independent variables can be used in participant-variable research designs, and what conclusions can and cannot be drawn from their use?
Design tables import data from access and excel : The main portion of the resort is the hotel. The hotel wants to store information about hotel guests, reservations, and rooms. You will design tables, import data from Access and Excel, and create relationships.
What specific sex or gender-related expectations do you have : What specific sex or gender-related expectations do you have regarding this population? For example, how would you describe the roles of men and women in this group? Any key differences in how men and women in this group might interact with the he..
Radians does the wheel turn : The angular velocity of a 755 g wheel 15.0 cm in diameter is given by the equation ω(t) = (2.00 rad/s2) t + (1.00 rad/s4) t3. (a) Through how many radians does the wheel turn during the first 2.00 s of its motion?
Magnitude of the angular acceleration of the fan : When a 2.75 kg fan, having blades 18.5 cm long, is turned off, its angular speed decreases uniformly from 10.0 rad/s to 6.30 rad/s in 5.00 s. (a) What is the magnitude of the angular acceleration of the fan?
Develop factorial design that could test research hypothesis : Develop a 2 × 2 factorial design that could test this research hypothesis.- What type of design is the research? What pattern of data is expected, and what conclusions could be drawn if the data come out as expected?

Reviews

Write a Review

Database Management System Questions & Answers

  Construct the entire city jail database

HS2021 Database Design and Use Group Assignment. Write down all the SQL statements require to construct the entire City Jail database. Execute all SQL queries in Oracle SQL developer 12c to implement the "City Jail" database in Oracle 12c. The CREA..

  Draw the original and final data models and state assumption

Transform the following entities into 1NF and 2NF entities. Draw the original and final data models, and state any reasonable assumptions. (Note: primary keys are underlined)

  Design a collection of tables that satisfies 2nf but not 3nf

Using the FD list in problem 1, identify the FDs that violate 2NF. Using knowledge of the FDs that violate 2NF, design a collection of tables that satisfies 2NF but not 3NF.

  What is cold backup and hot backup in case of oracle

What is cold backup and hot backup (in case of Oracle)? What are Armstrong rules? How do we say that they are complete and/or sound?

  Explain the purpose of an info cube and dimensions

Explain the purpose of an "Info Cube" and "Dimensions"? How they are related to each other? Explain the process of building an "Info Cube".

  Create a conceptual model of a database

create a conceptual database model using MS Visio Database Model Diagram Template. The purpose of this lab is to have you gain experience with the various modeling tools needed to create a conceptual model of a database

  Selecting opies of book titled the big magic

How many copies of the book titled „The big magic? are owned by the local library whose name is "Newtown" library?

  What meant by proactive retroactive and simultaneous update

What is meant by Proactive, Retroactive and Simultaneous Update. What are the different types of JOIN operations?

  Implement that entity as a database table with two subtypes

Implement that entity as a database table with two subtypes, Games and Movie.

  Write the 10 cardinalities for entity relationship diagram

Write the 10 cardinalities that are appropriate for the ERD (Entity Relationship Diagram)

  Design a flowchart for a program

Design a flowchart for a program that declares an array of 10 characters. Program should count and print number of times a special character, (your choice, let say ‘a') has been found in the array.

  Use of foreign key

If a foreign key contains either matching values or nulls, the table(s) that make use of such a foreign key is/are said to exhibit __________ integrity

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