Sie sind auf Seite 1von 2

Office 2016 – myitlab:grader – Instructions Your Office Access Chapter 6 Problem Solve 1

YO16_AC_CH06_GRADER_PS1_HW - Querying the Book Corner


Bookstore Database
Project Description:
The Book Corner is a small, local bookstore that sells to both recreational readers and the local college student
population. The manager uses Access to track inventory, customers, and transactions. You have been asked to
perform advanced queries that will help the management team make important business decisions. To keep the
file small while you work with the database, the store manager removed most of the data and left only some
sample data. Once the store manager accepts your changes, she will load all the data and implement the new
database.

Instructions:
For the purpose of grading the project you are required to perform the following tasks:
Points
Step Instructions
Possible

Start Access. Open the downloaded Access file named a0306_grader_h1_BookCorner.accdb.


1 Save the file with the name a0306_grader_h1_BookCorner_LastFirst, replacing LastFirst 0
with your name. Enable the content, if necessary.

Create a query in Design view based on the tblShipments and tblTransaction tables that
2 displays the TransID and a calculated field titled DaysToShip that calculates the number of 10
days it took to ship the items from the date purchased using the DateDiff function.

Sort the results in Descending order by DaysToShip. Save the query as qryDaysToShip and
3 8
then close the query.

Create a query in Design view that is based on the tblInventory table. Display InventoryID,
4 Price, and a new calculated field called NewPrice. The NewPrice should be 25% more if the 10
book is OutofPrint and 10% more if not. Both values should be rounded to the nearest dollar.

Format the NewPrice field as Currency. Save the query as qryNewPriceRounded and then
5 8
close the query.

Create a query in Design view based on the tblInventory table to help determine when to
order additional copies based on the NumberInStock. Display InventoryID, BookTitle, and a
6 calculated field called OrderStatus. If there are seven or more copies in stock, then display 10
None. If there are between four and six copies in stock, then display Critical. For those with
fewer than four in stock, display Urgent.

Limit the results to only those books that are not OutofPrint. Do not display the OutofPrint
7 8
field in the query results. Save the query as qryOrderStatus and then close the query.

Create a query in Design view based on the tblInventory table to help determine which books
in the fiction and literary genres were written during the 19th century (between the years
8 10
1800 and 1899). Display BookTitle, AuthorID, YearPublished, BookGenre, and Condition.
Save the query as qry19thCentury and then close the query.

Updated: 10/06/2016 1 YO16_AC_CH06_GRADER_PS1_HW_Instructions.docx


Office 2016 – myitlab:grader – Instructions Your Office Access Chapter 6 Problem Solve 1

Points
Step Instructions
Possible
Create a query in Design view based on the tblInventory, tblTransaction, and
tblTransactionDetails tables to help determine which Your Office books have been shipped
within a specific 90-day period. Display CustomerID, BookTitle, TransactionDate, and Qty. Use
9 10
a parameter and the Between…And function that prompts you to enter a start date and end
date when you run the query. The first prompt should display the text Enter Start Date and
the second prompt should display Enter End Date (no period).

Use a wildcard and the Like function to ensure that only books with Your Office in the title
10 are included in the results. Test your query by using 7/1/2018 as your start date and 8
9/30/2018 as your end date. Save the query as qry90Days and then close the query.

Create a query in Design view based on the tblTransaction table to help determine the date
that a purchase should be shipped. Display TransID, CustomerID, TransactionDate, Shipped,
11 and a calculated field titled ShipByDate that calculates the date by which the order should be 10
shipped using the DateAdd function. Orders should be shipped within seven days from the
date that the order was placed.

Sort the results in Ascending order by ShipByDate. Save the query as qryShipByDate and
12 8
then close the query.

13 Exit Access, and then submit your file as directed by your instructor. 0

Total Points 100

Updated: 10/06/2016 2 YO16_AC_CH06_GRADER_PS1_HW_Instructions.docx

Das könnte Ihnen auch gefallen