YO19_Access_Ch07_PS1 - Advanced Queries 1.0

profileexpmen
khan_YO19_AC_CH07_GRADER_PS1_HW.zip

YO19_AC_CH07_GRADER_PS1_HW_Instructions.docx

Grader - Instructions Access 2019 Project

YO19_Access_Ch07_PS1 - Advanced Queries 1.0

Project Description:

Management at the Golf Pro Shop has been collecting and storing their sales data in an Access database and need your help to create some queries to help them to begin to make sound business decisions based on data.

Steps to Perform:

Step

Instructions

Points Possible

1

Start Access. Open the downloaded Access file named a04ch07_grader_h1.accdb. Grader has automatically added your last name to the beginning of the filename.

0

2

Create a query based on tblTransactions and tblProducts that will calculate the total revenue earned for each ProductType. Add ProductType and a calculated field called Revenue to the Query design grid. The Revenue field should multiply Quantity and UnitPrice.

8

3

Group the results by ProductType, sum the Revenue calculation, format the Revenue field as Currency, and then sort the results in Descending order by Revenue. Name the query qryRevenueByProductType.

10

4

Create a query based on tblCustomers and tblTransactions that will display the FirstName, LastName, StreetAddress, City, State, Zip, and Phone for any resort member who has made a purchase at the Pro Shop during the fourth quarter of 2022. Be sure that each customer is listed only once.

14

5

Sort in Ascending order by LastName. Save the query as qry4thQuarterCustomers. Close the query.

6

6

Create a query based on tblTransactions and tblProducts that calculates total sales volume for each ProductType during the first quarter of 2022. The query should calculate the total quantity of items sold by applying the Sum aggregate function to the Quantity field. Rename this field Q1SalesVolumeByType. Group the results by ProductType.

15

7

Save the query as qryQ1SalesVolumeByType. Close the query.

4

8

Create a query based on tblTransactions that calculates gross sales volume during the first quarter of 2022. The query should calculate the total quantity of items sold by applying the Sum aggregate function to the Quantity field. Rename this field TotalQ1SalesVolume.

14

9

Save the query as qryTotalQ1SalesVolume. Close the query.

4

10

Create a query based on qryQ1SalesVolumeByType and qryTotalQ1SalesVolume that calculates the percentage of quarter 1 sales volume for each ProductType. Your subquery should include the ProductType field and a calculated field named %OfQ1SalesVolumeByType that divides Q1SalesVolumeByType by TotalQ1SalesVolume.

15

11

Format the calculated field as Percent with 2 decimal places. Sort the results in Descending order by %OfQ1SalesVolumeByType.

6

12

Save the query as qryQ1PercentByTypeSalesVolume. Close the query.

4

13

Blank

0

14

Blank

0

15

Exit Access, and then submit your file as directed.

0

Total Points

100

Created On: 04/05/2022 1 YO19_Access_Ch07_PS1 - Advanced Queries 1.0

khan_a04ch07_grader_h1.accdb

ID mSysRowId
1 hSR8H1GuGAoH/w5L5IVSt4cUYUWCGKN2BrepAqRUCOM=-~e/+q4Vis33woo1LhaNlDOg==
CustID LastName FirstName Gender StreetAddress City State Zip Phone E-mailAddress Status MailingList? mSysRowId
401 Mitchell Marsen M 3530 S Main St Potomac MD 20854 (701) 555-8217 [email protected] Member true Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
413 Bryant Cynthia F 304 Obispo Canyon Arroyo Grande CA 93420 (320) 555-4149 [email protected] Member true Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
421 Peters John M 56 Lake Drive Blue Lake CA 95525 (203) 555-3800 Member false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
436 Nguyen Jessica F 4003 Ridge Road Dallas TX 75217 (734) 555-2525 [email protected] Member false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
437 Richardson Greg M 1030 Presidio Road Albuquerque NM 87114 (385) 555-4836 Member false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
451 Branson Jenny F 3223 El Grande Ln La Mesa CA 92010 (239) 555-4103 [email protected] Guest true Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
458 Trumbull Sara F 544 E. Westerly St Ann Arbor MI 48104 (406) 555-7943 Member false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
466 Ford James M 6127 Fender Dr Cranbury NJ 07815 (385) 555-0247 Member false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
488 Griffin Elaine F 134 Desert Ln San Luis AZ 85350 (828) 555-3242 [email protected] Member true Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
494 Preston Harry M 455 Fredonia Ave Herkimer NY 15253 (317) 555-6201 Guest false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
497 Thomas Erin F 9214 Cardinal Ln Fairfax VA 23020 (484) 555-6243 Guest false Ay4txe9tVuZB1XWwlFkQvM4riTdbFClL3DjXTI8eb0Q=-~ffkAN+X+gUfRMTCOWpr5yw==
ProductID ProductType UnitPrice UnitCost mSysRowId
1 Accessories ¤ 32.99 ¤ 18.50 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
2 Accessories ¤ 12.99 ¤ 9.39 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
3 Accessories ¤ 27.99 ¤ 18.39 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
4 Accessories ¤ 28.99 ¤ 23.99 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
5 Clothing ¤ 31.99 ¤ 29.19 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
6 Clothing ¤ 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¤ 178.99 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
18 Round ¤ 225.99 ¤ 181.59 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
19 Round ¤ 160.99 ¤ 129.59 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
20 Round ¤ 229.99 ¤ 117.00 3QONtJ9Tl4bGyLiALvQtByUFBAPhGjEr1gioDCAtQmw=-~Rx1vvaE6MtRqlTEtxjbsGg==
ID FirstName LastName StreetAddress City State Zip Phone HireDate mSysRowId
1 Debbie Johnson 567 N 53rd Street Santa Ana NM 87004 (505) 555-8217 G98Q/PQatrcEM6l4HYd5OSqRxVsAH49BCfHnVg2ElT0=-~XU0XafEhS/TeTFE6RlwXLg==
2 Jim Moriarity 321 Bolivar Lane Albuquerque NM 87174 (505) 555-4149 G98Q/PQatrcEM6l4HYd5OSqRxVsAH49BCfHnVg2ElT0=-~XU0XafEhS/TeTFE6RlwXLg==
3 Tracy Jenkins 783 W Point Drive Pueblo NM 87566 (505) 555-3800 G98Q/PQatrcEM6l4HYd5OSqRxVsAH49BCfHnVg2ElT0=-~XU0XafEhS/TeTFE6RlwXLg==
4 Dominque Tranh 9982 N Red Oak Road Santa Fe NM 87501 (505) 555-2525 G98Q/PQatrcEM6l4HYd5OSqRxVsAH49BCfHnVg2ElT0=-~XU0XafEhS/TeTFE6RlwXLg==
5 William Corez 492 NW Lake Park Avenue Sena NM 87560 (505) 555-4836 G98Q/PQatrcEM6l4HYd5OSqRxVsAH49BCfHnVg2ElT0=-~XU0XafEhS/TeTFE6RlwXLg==
TransID CustID RepID ProductID TransactionDate Quantity mSysRowId
12 436 3 14 2022-01-01 8
13 436 1 17 2022-01-01 3
20 451 3 7 2022-01-06 9
21 421 5 12 2022-01-06 5
22 401 1 2 2022-01-07 4
23 494 2 9 2022-01-07 3
30 437 5 15 2022-01-09 5
31 413 3 1 2022-01-11 4
33 401 3 15 2022-01-13 4
41 413 3 8 2022-01-22 1
42 494 3 19 2022-01-22 2
43 413 1 4 2022-01-22 2
50 436 5 1 2022-01-28 5
51 494 2 7 2022-01-30 2
52 421 2 20 2022-01-31 1
61 436 5 1 2022-02-06 5
62 421 3 14 2022-02-07 3
63 497 1 6 2022-02-08 1
71 413 3 15 2022-02-12 1
72 437 2 13 2022-02-13 4
73 421 3 1 2022-02-14 5
80 413 5 2 2022-02-25 5
81 494 1 15 2022-02-26 4
83 494 5 8 2022-03-03 3
90 421 3 13 2022-03-07 2
91 421 3 16 2022-03-09 5
92 451 5 19 2022-03-12 2
93 436 5 7 2022-03-13 2
100 413 1 14 2022-03-20 3
103 451 4 8 2022-03-24 3
110 421 4 9 2022-04-01 3
111 421 3 15 2022-04-01 5
112 437 3 15 2022-04-01 2
113 413 2 15 2022-04-02 3
120 437 3 1 2022-04-10 2
122 437 5 10 2022-04-11 5
123 421 1 17 2022-04-12 3
130 494 2 12 2022-04-20 5
132 436 3 20 2022-04-21 2
142 401 2 6 2022-05-14 4
143 413 1 7 2022-05-16 4
150 494 5 15 2022-05-19 1
151 421 4 8 2022-05-24 5
152 413 3 13 2022-05-25 5
153 497 4 12 2022-05-25 1
160 413 5 20 2022-06-03 3
161 437 3 9 2022-06-04 4
162 421 2 17 2022-06-04 2
163 436 4 20 2022-06-06 4
170 401 5 1 2022-06-13 1
171 437 2 12 2022-06-13 1
172 401 2 15 2022-06-14 2
173 451 2 20 2022-06-14 3
180 401 4 8 2022-06-23 2
181 436 2 3 2022-06-24 1
182 421 5 12 2022-06-26 4
183 436 3 9 2022-06-26 4
190 436 1 3 2022-07-02 1
191 451 2 1 2022-07-02 4
192 421 4 3 2022-07-03 1
193 401 2 16 2022-07-04 5
201 451 5 16 2022-07-14 2
202 451 3 12 2022-07-14 4
203 451 4 11 2022-07-15 3
210 494 2 13 2022-07-23 4
211 413 2 6 2022-07-24 1
213 436 1 4 2022-07-26 5
220 401 4 2 2022-07-30 3
221 451 1 15 2022-07-30 5
222 421 1 2 2022-07-31 5
223 437 4 10 2022-08-01 2
232 401 1 16 2022-08-11 3
240 497 5 11 2022-08-17 3
241 494 1 7 2022-08-18 4
242 421 2 13 2022-08-18 5
250 413 2 19 2022-08-27 1
251 401 3 8 2022-08-28 1
252 451 4 12 2022-08-28 3
260 436 3 3 2022-09-07 2
261 437 2 5 2022-09-08 2
263 401 2 19 2022-09-10 1
270 497 1 5 2022-09-19 2
271 437 3 11 2022-09-20 2
272 421 5 3 2022-09-23 2
273 437 1 8 2022-09-23 5
281 494 2 14 2022-09-29 2
282 413 2 5 2022-09-29 5
283 497 5 13 2022-09-30 1
291 437 5 19 2022-10-07 2
293 421 5 17 2022-10-10 2
300 413 3 16 2022-10-13 3
302 497 5 10 2022-10-16 2
311 421 3 17 2022-10-22 2
312 451 4 18 2022-10-22 3
313 497 3 17 2022-10-23 4
321 413 2 4 2022-10-30 5
323 436 4 10 2022-10-31 2
330 451 4 13 2022-11-06 5
332 437 2 20 2022-11-10 4
333 497 5 11 2022-11-10 3
340 436 1 12 2022-11-13 4
341 437 2 7 2022-11-14 3
342 413 4 19 2022-11-14 5
350 413 3 8 2022-11-22 1
351 437 5 12 2022-11-22 1
352 437 2 20 2022-11-23 4
353 421 4 14 2022-11-24 5
360 494 4 6 2022-12-06 2
361 451 2 14 2022-12-06 2
372 413 5 8 2022-12-17 1
373 421 4 1 2022-12-18 1
381 497 3 17 2022-12-24 4