Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

MS Access – Queries

Scenario: This assignment will make use of a small company's bike rental database. Use the attached MS Excel file to create the database on MS Access. The data model is as follows:

424_Data model.jpg

Make sure to designate the correct primary key(s), data types, and establish the relationships/referential integrity. After you have setup the database, complete the following queries in part 1 and 2.

Part 1 - Complete the following queries on MS Access and rename each query as E1, E2, E3, etc.

E1: What are the customer names, from which state do they reside, and when did they rent bike? E2: What is the name of customers who returned their bike damaged?

E3: Provide the customer name, time out, time in, and cost perhour.

E4: a) Show all the data fields in the Customer table; b) show all data fields in the Customer table and rental table.

E5: Show all customers who rented bikes from 5/1/2004 to 7/1/2004. E6: Show a list of bikes that cost more than $16.00.

E7: Show any customers who lives in a city where the city name begins with the word "New". E8: Show a count of how many rentals per bike description.

E9: Update the Cost per Hour table to add additional two dollars for all bikes.

Part 2 - Complete the following queries on MS Access. Each query should be renamed as Q plus the query number underscore your initials (e.g., the first query below, Q1, would be saved as Q1_BA for me on MS Access).

Q1: Create a query that will display Bike ID, Description, and Cost per Hour for any bike that between
$15 and $20 per hour.

Q2: Create a query that lists each customer's name (sorted by last name), state, date rented, and the name of the bike that was rented.

Q3: Create a query that lists all the bikes with the word "Specialized" and its cost per hour sorted from most expensive to least expensive.

Q4: Create a query that displays the name of customers who have returned their bike not damaged.

Q5: Create a query that will group customers by their first and last names and tallies up (i.e., count) the number of time they have rented a bike.

Q6: Create a query that lists the customers who have rented a bike after June 1, 2004. The query must show the customer's name, date, and bike description.

Part 3
In addition to the three tables required to solve part 1 and part 2, create a new table and rename it your last name330 (e.g., Abdelfattah303). Next, create three data fields: First Name, Last Name, and Student ID with the correct data types. Inside each field, enter the data: your actual first name, last name, and Mason ID. Save the table to your Access file.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92779528
  • Price:- $25

Priced at Now at $25, Verified Solution

Have any Question?


Related Questions in DBMS

Backgrounda new training organization called abc

Background A new training organization called ABC TechTraining is opening soon and they have approached you to help design their new database. They have just completed the refurbishment of the premises and are now lookin ...

Question 1 a- consider that you are asked to design an

Question: 1. (a)- Consider that you are asked to design an entity relationship diagram based on the below scenario: A university consists of a number of departments (id, d_name) and each department offers some courses. A ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Quesiton 1 what is data-manipulation language dml there are

Quesiton: 1. What is Data-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last ...

Question create an erd for the following scenario once you

Question: Create an ERD for the following scenario. Once you submit you will get access to the correct way to create the ERD. Please watch the video and correct any errors in your submission and resubmit. A small company ...

Assignment task -write and run sql statements to complete

Assignment Task - Write and run SQL statements to complete the following tasks Part A - DML 1. Show the details of the products where the product code starts with '22'. 2. Display the vendor details from areacode 615. 3. ...

The system development team at the xyz company is working

The system development team at the XYZ Company is working on developing a new customer order entry system. In the process of designing the new system, the team has identified the following data entity attributes: Invento ...

Case study problem 1 the case study company has experienced

Case Study: Problem 1 The case study company has experienced rapid growth in both the size of its client base and also in the services provided to clients. Unfortunately, the growth in data management policies, procedure ...

Assignment question - write and run sql statements to

Assignment Question - Write and run SQL statements to complete the following tasks Part A - DML 1. Locate the record in the vendor table that does not have a value for the attribute V_STATE 2. Find the customers whose ba ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As