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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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