Computer scienec projet A6

profilesteve_92
a_ch06_expv2_h1.zip

A_CH06_EXPV2_H1_Instructions.docx

Office 2013 – myitlab:grader – Instructions Exploring Series Vol. 2

Drivers and Insurance

Project Description: You have been asked to modify a database that tracks driver data and insurance details. You will update, add to, and delete records from tables. You will also create queries that aggregate data, find unmatched, and repeating values.

Instructions: For the purpose of grading the project you are required to perform the following tasks: Step Instructions Points Possible 1 Start Access. Open the downloaded Access database named exploring_a06_Grader_h1. Save the database as exploring_a06_Grader_h1_LastFirst. 0 2 Create a select query that includes the CategoryID and CategoryName from the Categories table and the UnitPrice and ProductName fields from the Products table (in that order). Run the query and note the CategoryIDs for Beverages and Dairy. 8 3 Add the appropriate CategoryID criterion to limit the query output to only beverages. Convert the query to an update query. Update the UnitPrice for beverages only by increasing it by 5 percent. 14 4 Update the UnitPrice for dairy products only by increasing it by 4 percent. Run the query. Save the query as Update Prices. Close the query. 6 5 Create a select query that identifies all of the discontinued products. Include all fields from the Products table. 8 6 Convert the select query to a make table query. Name the new table Discontinued Products. Run the query. Save the query as Make Discontinued Products Table. Close the query. 6 7 Make a copy of the Make Discontinued Products Table query and save it as Append Discontinued Products Table. Open the Append Discontinued Products Table query in Design view. Convert the make table query to an append query. The query will append to the Discontinued Products table. 8 8 Modify the criteria to add the Boston Crab Meat product to the Discontinued Products table, using the SupplierID from the Products table. Run the query, save it, and then close it. 6 9 Make a copy of the Append Discontinued Products Table query and save it as Delete Discontinued Products. Open the Delete Discontinued Products query in Design view. Convert the append query to a delete query. 8 10 Modify the criteria to delete the discontinued products, as well as the record for Boston Crab Meat using its SupplierID (Hint: There will be two criteria). Run, save, and close the query. 6 11 Open the Profit query in Design view and add the LastName field from the Employees table to the last column of the design grid. Run, save, and close the query. 4 12 Use the query wizard to create a crosstab query based on the Profit query that shows total profit by LastName (row heading) and CategoryName (column heading). Name the query Profit_Crosstab. 8 13 Modify the query to display CategoryName as a row heading field and LastName as a column heading field. Run, save, and close the query. 6 14 Create a query to find out if any of the products have no current order details. Add all of the fields from the Products table to the results. Save the query as Products With No Orders. Run the query and close it. 12 15 Save the database. Close the database, and then exit Access. Submit the database as directed. 0 Total Points 100

Updated: 07/19/2013 1 A_CH06_EXPV2_H1_Instructions.docx

exploring_a06_Grader_h1.accdb

CategoryID CategoryName Description Picture mSysRowId
1 Beverages Soft drinks, coffees, teas, beers, and ales VkpiQcNhEI19G5oB3vYG/QG+t7zZUb+76ETC1FzGQ54=-~82gG1PQJ0Trnsra5Ne7LRg==
2 Condiments Sweet and savory sauces, relishes, spreads, and seasonings tu4gJmqixRDV1ap6EhaC0D/SPSY72yI4ofvb0LrpoYg=-~DTtohhFk0T1ykZsBxgWcmg==
3 Confections Desserts, candies, and sweet breads fQpporOrhbVaWFe+UYgjq0q44wBj8FapSWQ0DqliM4g=-~yjubRv6dTfXi3LghoIy3KQ==
4 Dairy Products Cheeses qq+7Xt4AbHIQK47HMyPO0BSKDi+oXl/IMMX0OrCSo8I=-~UhTP0qQEqGc+SCRq1OdrKQ==
5 Grains/Cereals Breads, crackers, pasta, and cereal Olbg1SaLI//xlJ4myE/WGLx+oglKjSCF94Xj3/mlROA=-~MzKYTfRuwcoeyzZ+CvbW1w==
6 Meat/Poultry Prepared meats m8/laWe5HgTbf3epVnw/ekHUFt3CndQAAxVPd5tnEF4=-~9rtQ6zO3c8cY0J11Du3S/w==
7 Produce Dried fruit and bean curd 8HQCLkVA9j3KAKb9S0zc4sjNQWtYoDVM2oEGPySf0GQ=-~v1CIaoUhfmzHsVsyNyr1QA==
8 Seafood Seaweed and fish ChtLpvOSg//4H4vtsB9c/X0fl0cT9x8LgF4z2WMLwbI=-~h1/ntwOQ0FCLdr3SaNi5fw==
CustomerID CompanyName ContactName Address City PostalCode Country Phone mSysRowId
BONAP Bon app' Laurence Lebihan 12, rue des Bouchers Marseille 13008 France 91.24.45.40 Ab2333XrxJcfq0t4E7iSOZa1K1W3JmNm+96NssNjRNY=-~oDvPYCGl4aDN5JJaPcThCA==
CHOPS Chop-suey Chinese Yang Wang Hauptstr. 29 Bern 3012 Switzerland 0452-076545 9tOPFMNI6UkoTqfJD3OWn6KOtN/6NoFB8iG2/4PkD0Q=-~loEyvSsZfO5A4Py1akUclA==
KOENE Königlich Essen Philip Cramer Maubelstr. 90 Brandenburg 14776 Germany 0555-09876 adkGORLNz8NNFuLbVY+AVx2KhzXte5Jso0zjlXIkvz0=-~Bu0NDtoRREXSSzoNkPxAZA==
LILAS LILA-Supermercado Carlos González Carrera 52 con Ave. Bolívar #65-98 Llano Largo Barquisimeto 3508 Venezuela (9) 331-6954 dRExicxH5RiekV2rXIps5ewr1PF01ixUIBY1A2AdOIU=-~tddyIvZ/XWmM9NQ1ExqYYw==
RICSU Richter Supermarkt Michael Holz Grenzacherweg 237 Genève 1203 Switzerland 0897-034214 OxkNCKkxT4oueG7iYbazU0pzMrNkV6AeFVTfOk6pCL0=-~A1KxiN4S8BS/M4jt2O/qGw==
SAVEA Save-a-lot Markets Jose Pavarotti 187 Suffolk Ln. Boise 83720 USA (208) 555-8097 HOhwImIWXV8kBNEykzM21X3FeLKiFB0eghsWtvwysVU=-~ZRMgQH0rUtD9btgy7xR9Gw==
SPLIR Split Rail Beer & Ale Art Braunschweiger P.O. Box 555 Lander 82520 USA (307) 555-4680 DshpMvw3q0iusAq5BwrCj5KmexlkCiKVJm2mKtGFQhc=-~wYjwb0uh3HXyeGXaSkc7/Q==
WHITC White Clover Markets Karl Jablonski 305 - 14th Ave. S. Suite 3B Seattle 98128 USA (206) 555-4112 sjmr3DGhAtJN91r0eaOoHCepL2JRPeEyr9IW/9vxZ24=-~qLpR40RMmoK/Umvaf0rrWw==
WILMK Wilman Kala Matti Karttunen Keskuskatu 45 Helsinki 21240 Finland 90-224 8858 CzlJACMmP8PlHF48SxW2kiCDPP0FswFqfM5cqwqwjMc=-~dPIzh7CSp0OS35MsCw/RVQ==
EmployeeID LastName FirstName Title HireDate Address City PostalCode mSysRowId
1 Davolio Nancy Sales Representative 2012-05-01 507 - 20th Ave. E. Apt. 2A Seattle 98122 oYryoGB1jiYcKVPVT5RjdriHnkIHcOYIHPaSKXm0s3I=-~cxviXtNesqUQJVY3OA02FQ==
2 Fuller Andrew Vice President, Sales 2012-08-14 908 W. Capital Way Tacoma 98401 FCc5s0che6gYJTobnhQBVsJIiHUWcL7OjG0t2k9hztw=-~70XfXTksrKzqD5fUfhbpTw==
3 Lorah Ron Sales Representative 2009-04-01 722 Moss Bay Blvd. Kirkland 98033 pKUMuLKU1ib63eZbhZIRD6HHeDLa3l8iKn9K3voWqtw=-~7XI4lKYrbu9b6wVxbDn+ig==
4 Peacock Margaret Sales Representative 2008-05-03 4110 Old Redmond Rd. Redmond 98052 bbjFdbrT8YXlncqktnF1SElF9etylixoAK1+1FrvhlY=-~hNgzKc813C7sDZMExvjFTw==
5 Buchanan Steven Sales Manager 2005-10-17 14 Garrett Hill London SW1 8JR /fKHVljhkiu2GBl+Yzl6j/lasj2kSaLll02aGnTqG7g=-~MiG//bpYaUEbAV0Tt5S69g==
6 Suyama Michael Sales Representative 2006-10-17 Coventry House Miner Rd. London EC2 7JR mwJxsgdpOjJ/5Ja7Jiq7mBPecfSfBoMCIRhVY2xllnY=-~dfgINgKFSTiFUPo0A+fkgg==
7 King Robert Sales Representative 2005-01-02 Edgeham Hollow Winchester Way London RG1 9SP TriKmvcALxZDtdlFrbCKL5kEcoxgat6Nrj5hhD8oB24=-~p3oB2+fjZr5C1jZ0tO1zkQ==
8 Callahan Laura Inside Sales Coordinator 2011-03-05 4726 - 11th Ave. N.E. Seattle 98105 9eSAwywSCvxe7C4tiFSZgWGvPUAk3aCloAiZTMyVrxE=-~a2nSffPAUCEjt8McBwigeQ==
9 Dodsworth Anne Sales Representative 2010-11-15 7 Houndstooth Rd. London WG2 7LT 3STjL0Xeou5zZdQlfndt3AYAZy44bBiBEt3FRdTYw7o=-~r0hwbPCn6Xxwtcdwc+cYyA==
ID mSysRowId
1 fS+CeXTjK2YUgVPzoFobST02pSylAYYvT8t8xDne43Q=-~CkWY1xer2OfnToKDqL48uQ==
OrderID ProductID Quantity Discount mSysRowId
10248 11 12 0.0 cHIREtl1EHzRBVHcHTjk6e908CCM+DVttjmet6HTV04=-~BTeXhhuFlP8eVjljTVbh0w==
10248 42 10 0.0 cHIREtl1EHzRBVHcHTjk6e908CCM+DVttjmet6HTV04=-~BTeXhhuFlP8eVjljTVbh0w==
10248 72 5 0.0 cHIREtl1EHzRBVHcHTjk6e908CCM+DVttjmet6HTV04=-~BTeXhhuFlP8eVjljTVbh0w==
10329 19 10 0.05 Xv9fRFMtg+IOqbEBJv3xTscFQJCr3KBx7Lnhrk9Qdy8=-~kfcBOEHKmC6UTj6l02vLGA==
10329 30 8 0.05 Xv9fRFMtg+IOqbEBJv3xTscFQJCr3KBx7Lnhrk9Qdy8=-~kfcBOEHKmC6UTj6l02vLGA==
10329 38 20 0.05 Xv9fRFMtg+IOqbEBJv3xTscFQJCr3KBx7Lnhrk9Qdy8=-~kfcBOEHKmC6UTj6l02vLGA==
10329 56 12 0.05 Xv9fRFMtg+IOqbEBJv3xTscFQJCr3KBx7Lnhrk9Qdy8=-~kfcBOEHKmC6UTj6l02vLGA==
10330 26 50 0.15 /ppN9abUGh/UhTnt2/ccvVBOX6KuqhZOp0702Q0pBD8=-~DreVG3fiJDSzv7AQYcbQKg==
10330 72 25 0.15 /ppN9abUGh/UhTnt2/ccvVBOX6KuqhZOp0702Q0pBD8=-~DreVG3fiJDSzv7AQYcbQKg==
10331 54 15 0.0 v6cojW27lJrujETw1BcbbDb/05xUp199b6s0XoFEMn4=-~J1C6dQFivxqMQrno73mg1Q==
10607 7 45 0.0 +l9X/rCwL+qIMgXLIe/ii/ZUg/Rs0i6EjCyMENkKq/4=-~JUHFL4rPXkGpbljumDBrzg==
10607 17 100 0.0 +l9X/rCwL+qIMgXLIe/ii/ZUg/Rs0i6EjCyMENkKq/4=-~JUHFL4rPXkGpbljumDBrzg==
10607 33 14 0.0 +l9X/rCwL+qIMgXLIe/ii/ZUg/Rs0i6EjCyMENkKq/4=-~JUHFL4rPXkGpbljumDBrzg==
10607 40 42 0.0 +l9X/rCwL+qIMgXLIe/ii/ZUg/Rs0i6EjCyMENkKq/4=-~JUHFL4rPXkGpbljumDBrzg==
10607 72 12 0.0 +l9X/rCwL+qIMgXLIe/ii/ZUg/Rs0i6EjCyMENkKq/4=-~JUHFL4rPXkGpbljumDBrzg==
11028 55 35 0.0 k5E2SzE8l44HXC3ZnQvc563X7L057Nu1lZLz21x2Hzk=-~ZbruBIJHVVpubtyAUUfuZA==
11028 59 24 0.0 k5E2SzE8l44HXC3ZnQvc563X7L057Nu1lZLz21x2Hzk=-~ZbruBIJHVVpubtyAUUfuZA==
11029 56 20 0.0 oYmzoE95xlIJECB7319Dvrf9ZfTjCdOhqI4NGDnveV8=-~KtA6nnvnRlHLp3jIc5fTlg==
11029 63 12 0.0 oYmzoE95xlIJECB7319Dvrf9ZfTjCdOhqI4NGDnveV8=-~KtA6nnvnRlHLp3jIc5fTlg==
11032 36 35 0.0 sp1F+IGAPmE822seVu5SW88BeCt2hZTiSLWexAuzQNI=-~2qQfGQTGFr5pg7fBVPGp/w==
11032 38 25 0.0 sp1F+IGAPmE822seVu5SW88BeCt2hZTiSLWexAuzQNI=-~2qQfGQTGFr5pg7fBVPGp/w==
11032 59 30 0.0 sp1F+IGAPmE822seVu5SW88BeCt2hZTiSLWexAuzQNI=-~2qQfGQTGFr5pg7fBVPGp/w==
11033 53 70 0.1 Goetyi+MdqjtGZU+Qc2Hcc2nPBMOUoJVe+pLVPwaH54=-~BOKPkuuSKl+R5GwFtbrrpQ==
11033 69 36 0.1 Goetyi+MdqjtGZU+Qc2Hcc2nPBMOUoJVe+pLVPwaH54=-~BOKPkuuSKl+R5GwFtbrrpQ==
OrderID CustomerID EmployeeID ShippedDate ShipVia Freight ShipCountry mSysRowId
10248 WILMK 5 2012-05-25 3 ¤ 44.84 Belgium xyvxgQKqCh0aB94zKn3aS0TnAh9aUdEFrbf7zC5XzkY=-~6TlGcmK2b7yZrml5WP9tcA==
10329 SPLIR 4 2012-09-01 1 ¤ 40.42 Germany BH2MjYn322F2+beK1UWUqw5jBTP5Ln1oIOMs0EvDEo0=-~KXONoGh8Je8RWdUUmEgvPA==
10330 LILAS 3 2012-09-06 2 ¤ 25.19 USA ORc+Q3pY464WQo+aGm41pCg4y9UZ81Wa7dy3sqBMrZI=-~MwVTqW79WLcAkysEoESvmQ==
10331 BONAP 9 2012-08-30 2 ¤ 3.04 UK 3vwhiJ81hJCiA/inoEArcJytaY6SblJBlH9MjUKCME8=-~U+lFaPvA1a8Tuo8vMZlH1g==
10607 SAVEA 5 2012-06-02 2 ¤ 36.71 Germany 8q6QqEJjFaN63zsx+Quq1mn/B4Lt1wWWPm+ps3ZXTBM=-~06NB5i1V8H3lVktW28i/GA==
11028 KOENE 2 2012-02-27 3 ¤ 146.06 Austria 8g5toj3icYM0XoEnk8j4BAVOjLZAa5QIOSgJ54UCkoo=-~bzzxdnHY82bBZo3U4fSNEQ==
11029 CHOPS 4 2012-03-04 3 ¤ 12.76 Brazil OX2bVtOXJZ9LK89U3k/q4Upinvm4icZEXIyLRhn/a9o=-~tnO2NgsBqWfFtKSswuuCyw==
11032 WHITC 2 2012-02-28 3 ¤ 3.67 Sweden HCp56+toc+sx6bpUXOF22EmVBJqQrKGJ0Oxx4qlNWQA=-~UhkyO66eqhyYLcPcpNbAWw==
11033 RICSU 7 2012-02-28 1 ¤ 55.28 France rKNqy1NZnCSruOwiEFd08xUxudrQPRuFc243uEaPR9A=-~ihIHLBXi9srOKi77FXeWCw==
ProductID ProductName SupplierID CategoryID QuantityPerUnit UnitPrice ProductCost Discontinued
7 Uncle Bob's Organic Dried Pears 3 7 12 - 1 lb pkgs. ¤ 30.00 ¤ 22.50 false
11 Queso Cabrales 5 4 1 kg pkg. ¤ 21.00 ¤ 16.00 false
17 Alice Mutton 7 6 20 - 1 kg tins ¤ 39.00 ¤ 20.70 true
19 Teatime Chocolate Biscuits 8 3 10 boxes x 12 pieces ¤ 9.20 ¤ 4.50 false
26 Gumbär Gummibärchen 11 3 100 - 250 g bags ¤ 31.23 ¤ 22.80 false
30 Nord-Ost Matjeshering 13 8 10 - 200 g glasses ¤ 25.89 ¤ 12.20 false
33 Geitost 15 4 500 g ¤ 2.00 ¤ 2.01 false
36 Inlagd Sill 17 8 24 - 250 g jars ¤ 19.00 ¤ 18.51 false
38 Côte de Blaye 18 1 12 - 75 cl bottles ¤ 263.00 ¤ 263.01 false
40 Boston Crab Meat 19 8 24 - 4 oz tins ¤ 18.40 ¤ 17.91 false
42 Singaporean Hokkien Fried Mee 20 5 32 - 1 kg pkgs. ¤ 14.00 ¤ 13.51 true
53 Perth Pasties 24 6 48 pieces ¤ 32.80 ¤ 32.31 true
54 Tourtière 25 6 16 pies ¤ 7.45 ¤ 6.96 false
55 Pâté chinois 25 6 24 boxes x 2 pies ¤ 24.00 ¤ 23.51 false
56 Gnocchi di nonna Alice 26 5 24 - 250 g pkgs. ¤ 38.00 ¤ 37.51 false
59 Raclette Courdavault 28 4 5 kg pkg. ¤ 55.00 ¤ 54.51 false
63 Vegie-spread 7 2 15 - 625 g jars ¤ 43.90 ¤ 43.41 false
68 Scottish Longbreads 8 3 10 boxes x 8 pieces ¤ 12.50 ¤ 12.01 false
69 Gudbrandsdalsost 15 4 10 kg pkg. ¤ 36.00 ¤ 35.51 false
72 Mozzarella di Giovanni 14 4 24 - 200 g pkgs. ¤ 34.00 ¤ 34.31 false
ShipperID CompanyName Phone mSysRowId
1 Speedy Express (503) 555-9831 AhUhKiilJug1a3Xbsato15mD/9xMWz4z+kfdpX5RJFY=-~iZ/yxqiTAcDtQK2xd8KVaQ==
2 United Package (503) 555-3199 eIRhrPAD45ftm6KGduxwyIOUL0LitnAXGNmtTlXJ/Ug=-~xkeCk/UYFdfYu6rtmHeIbg==
3 Federal Shipping (503) 555-9931 IMiyrX62Ia/JwWW1k/vG3bnZndGsXy2t9rr1AW8xjXc=-~FyHuGiC4za3xF0iUcAuosw==
SupplierID CompanyName ContactName Address City PostalCode Country Phone mSysRowId
3 Grandma Kelly's Homestead Regina Murphy 707 Oxford Rd. Ann Arbor 48104 USA (313) 555-5735 SgV6OlEJcxjLMdvxsy5CFz+/4Ln6Jw/akyhetbnyf48=-~UXSGwWuDrt0V+PA7ZPjdGg==
5 Cooperativa de Quesos 'Las Cabras' Antonio del Valle Saavedra Calle del Rosal 4 Oviedo 33007 Spain (98) 598 76 54 vosDquGinBzdBHAaep/LN1TY18x0mxRqbMJVJWL0oUs=-~aKBa8GRXYDrW1zy5ObhNuw==
7 Pavlova, Ltd. Ian Devling 74 Rose St. Moonie Ponds Melbourne 3058 Australia (03) 444-2343 +eq/jxi/yq8ckq9sSN5rc6Gyd7jD/HOE8//LYE1Qg5M=-~cfyLEOhwWD5/wfqUjbRDTQ==
8 Specialty Biscuits, Ltd. Peter Wilson 29 King's Way Manchester M14 GSD UK (161) 555-4448 1Jt+9tArMhitVXwQDHIv/vQsOBXJ+2I7bHuzsI3xA+s=-~zmVRGseitP4nbzSywzVrZw==
11 Heli Süßwaren GmbH & Co. KG Petra Winkler Tiergartenstraße 5 Berlin 10785 Germany (010) 9984510 LWef4c8gj83hJDyW426q3zHUhGWAbYkvJECZuTisGKI=-~+W63LYVraFvKmG1kGHvzTw==
13 Nord-Ost-Fisch Handelsgesellschaft mbH Sven Petersen Frahmredder 112a Cuxhaven 27478 Germany (04721) 8713 K8UWW3xoz7ZbsLBFJbmmNdqdbcqZZIXYpuX1aCsTTuM=-~1XkCNEkeznzSoXFnABigfg==
14 Formaggi Fortini s.r.l. Elio Rossi Viale Dante, 75 Ravenna 48100 Italy (0544) 60323 PHs1ao8bbIRDb9ZluUA7iKO5+NUbAWVmm0bUu/dVKOM=-~Pxptm9tEO0bnMqsTfmVMxA==
15 Norske Meierier Beate Vileid Hatlevegen 5 Sandvika 1320 Norway (0)2-953010 ebK+t8JVirp28/NxAnwRSRuj0ld8cpq3ILDIj4TN94Q=-~NB4NoRVenkoSWgrO5Eszig==
17 Svensk Sjöföda AB Michael Björn Brovallavägen 231 Stockholm S-123 45 Sweden 08-123 45 67 nuZ3CxTjBu3WlMNmmUpiExFU6HmU5Vpf88kEA4/DPag=-~G6WnHzf2xJIiXf3hrcIWBw==
18 Aux joyeux ecclésiastiques Guylène Nodier 203, Rue des Francs-Bourgeois Paris 75004 France (1) 03.83.00.68 76wtSec0LrYmU88N2xPr7f694aEjAdCFKsiN83+Z+Uo=-~q3XBfgamqruptyECi+Y9/g==
19 New England Seafood Cannery Robb Merchant Order Processing Dept. 2100 Paul Revere Blvd. Boston 02134 USA (617) 555-3267 QKSzpB0e1CK+Czxi/+vp3uiu81ahsdKdCbMOyQCbRK8=-~msOc46Nv2ZLbzmOW4K1eSQ==
20 Leka Trading Chandra Leka 471 Serangoon Loop, Suite #402 Singapore 0512 Singapore 555-8787 T3dnXRu2dqjqjNADniSoYwTBJLmGBtJt4/n4KVnagxI=-~BwRPxZOxWulOR4FkIXneVA==
24 G'day, Mate Wendy Mackenzie 170 Prince Edward Parade Hunter's Hill Sydney 2042 Australia (02) 555-5914 +z7ccrZ6OKnWEzy921P0u84J0nGJaSXp4x/CtDeVZ64=-~rKuB5PrjisF56ZrMG/R9ig==
25 Ma Maison Jean-Guy Lauzon 2960 Rue St. Laurent Montréal H1J 1C3 Canada (514) 555-9022 nyzkDdwmp1LVw3L63j9bMWjA6xHF6Hvgb78whgh0fPY=-~hbj3uWwy7reuT1JwEKuGEw==
26 Pasta Buttini s.r.l. Giovanni Giudici Via dei Gelsomini, 153 Salerno 84100 Italy (089) 6547665 dGdIPXo2UXRWGcA8W6zjkdstTPsOzU57G37C6zJ+qnE=-~nvcCug9IAJwT44NhAfa7aA==
28 Gai pâturage Eliane Noz Bat. B 3, rue des Alpes Annecy 74000 France 38.76.98.06 6rYSTjaAlxXd/PT/nHt6d6LbnV6h1XUlVSlv4fydQrQ=-~zjvvocxoSIFRQtpl7VVCFA==
SELECT [Order Details].Quantity, [Order Details].Discount, Products.UnitPrice, Products.ProductCost, Categories.CategoryName, Orders.ShippedDate, Orders.ShipCountry, [UnitPrice]*(1-[Discount])*[Quantity]-[ProductCost]*[Quantity] AS Profit FROM (Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID) INNER JOIN ((Employees INNER JOIN Orders ON Employees.EmployeeID = Orders.EmployeeID) INNER JOIN [Order Details] ON Orders.OrderID = [Order Details].OrderID) ON Products.ProductID = [Order Details].ProductID;