{"id":4125,"date":"2023-02-22T05:28:17","date_gmt":"2023-02-22T05:28:17","guid":{"rendered":"https:\/\/www.goodacademic.com\/blog\/questions\/it163-database-concepts-using-microsoft\/"},"modified":"2023-02-22T05:28:17","modified_gmt":"2023-02-22T05:28:17","slug":"it163-database-concepts-using-microsoft","status":"publish","type":"questions","link":"https:\/\/www.goodacademic.com\/blog\/questions\/it163-database-concepts-using-microsoft\/","title":{"rendered":"it163 database concepts using microsoft"},"content":{"rendered":"<div class=\"col-sm-12 messageContent\">\n <b>Learning Goal: <\/b>I&#8217;m working on a databases question and need an explanation and answer to help me learn.<\/p>\n<p><strong>Part 1 &#8211; Assignment Instructions<\/strong><\/p>\n<p>Using the model car sample database provided, create queries to demonstrate a variety of simple, single table select query functionality to include selecting more than one field, using the where clause, using alias\u00e2\u20ac\u2122, working with dates, sorting and using relational and logical operators.<\/p>\n<ol>\n<li>Open the sample database.<\/li>\n<\/ol>\n<p>For this assignment you will use this sample database: <a href=\"https:\/\/kapextmediassl-a.akamaihd.net\/IST\/IT163\/IT163_2004A\/IT163_ModelCarSampleDatabase.accdb\" target=\"_blank\" rel=\"noopener\">IT163_ModelCarSampleDatabase.accdb<\/a><\/p>\n<ol>\n<li>Create the five queries as detailed below. You may create these queries using the query design view or you may manually write the SQL code in the SQL view.<\/li>\n<\/ol>\n<p><strong>a.<\/strong> Select the Company field from the Customers table.<\/p>\n<p>Save as QueryA. Run the query to see the subset of data produced. Verify that the results are correct.<\/p>\n<p><strong>Reference:<\/strong> Alexander, M., &amp; Kusleika, D. (2019). <em>Access 2019 bible<\/em>. Wiley.<\/p>\n<p>Chapter 8: \u00e2\u20ac\u0153Selecting Data with Queries \/ Creating a Query \/ Working with Query Fields \/ Adding Criteria to Your Queries \/ Saving a Query\u00e2\u20ac\ufffd<\/p>\n<p><strong>b.<\/strong> Modify QueryA to sort the output in alphabetical order.<\/p>\n<p>Save as QueryB. Run the query to see the subset of data produced. Verify that the results are correct.<\/p>\n<p><strong>Reference:<\/strong> Alexander, M., &amp; Kusleika, D. (2019). <em>Access 2019 bible<\/em>. Wiley.<\/p>\n<p><strong>c.<\/strong> Select the Description, Cost and QtyInStock fields from the Products table for all records with category \u00e2\u20ac\u0153Trucks.\u00e2\u20ac\ufffd Sort by cost from lowest to highest cost.<\/p>\n<p>Save as QueryC. Run the query to see the subset of data produced. Verify that the results are correct.<\/p>\n<p><strong>Reference:<\/strong> Alexander, M., &amp; Kusleika, D. (2019). <em>Access 2019 bible<\/em>. Wiley.<\/p>\n<p>Chapter 8: \u00e2\u20ac\u0153Selecting Data with Queries \/ Creating a Query \/ Working with Query Fields \/ Adding Criteria to Your Queries \/ Saving a Query\u00e2\u20ac\ufffd<\/p>\n<p><strong>d.<\/strong> Select the OrigCustDate, FirstName, and LastName from the Contacts table for all records with the state of Texas (\u00e2\u20ac\u0153TX\u00e2\u20ac\ufffd) and OrigCustDate of January 1, 2013 or later. Display first and last name together as Customer Name.<\/p>\n<p>Save as QueryD. Run the query to see the subset of data produced. Verify that the results are correct.<\/p>\n<p><strong>Reference:<\/strong> Alexander, M., &amp; Kusleika, D. (2019). <em>Access 2019 bible<\/em>. Wiley.<\/p>\n<p>Chapter 9: \u00e2\u20ac\u0153Using Operators and Expressions in Access \/ Introducing Operators \/ Using Operators and Expressions in Queries \/ Using Multiple Criteria in a Query \/ Entering Criteria in Multiple Fields\u00e2\u20ac\ufffd<\/p>\n<p><strong>e.<\/strong> Select the Company, CurrentBalance and State from the Customers table for all records with a current balance greater than zero and a state of New York or Connecticut. Sort by CurrentBalance from highest to smallest value.<\/p>\n<p>Save as QueryE. Run the query to see the subset of data produced. Verify that the results are correct.<\/p>\n<ol>\n<li>Document your results for submission.<\/li>\n<\/ol>\n<p>In a Word document, copy each of the questions from above in BOLD. After each question, place the SQL code. After the SQL code, place a screenshot of the successful execution from Access showing the correct results were garnered when you ran each query. Start a new page for each question.<\/p>\n<p><em>Hint: you can copy your SQL code as plain text from the SQL view. Right-click your query and choose SQL View or use the View option from the ribbon.<\/em><\/p>\n<p><strong><em>Example Query Output:<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/kapextmediassl-a.akamaihd.net\/IST\/IT163\/IT163_2004A\/IT163_Example_Output_1.docx\" target=\"_blank\" rel=\"noopener\"><strong>IT163_Example_Output_1.docx<\/strong><\/a><\/p>\n<p><strong>Assignment Requirements<\/strong><\/p>\n<p>Submit a single Word document with all of the documentation for each query as described in the assignment instructions.<\/p>\n<p><strong>Part 2 &#8211; Assignment Instructions<\/strong><\/p>\n<p>You will create a form for the Customer table with a subform for the Customer Contacts table so that data can be entered into both tables at the same time. You will also add controls and apply data validation to several fields in the Customer form. You will also apply encryption to password protect your database.<\/p>\n<ol>\n<li>Open the sample database.<\/li>\n<\/ol>\n<p>For this assignment you will use this sample database:<\/p>\n<p><a href=\"https:\/\/kapextmediassl-a.akamaihd.net\/IST\/IT163\/IT163_2004A\/IT163_ModelCarSampleDatabase.accdb\" target=\"_blank\" rel=\"noopener\">IT163_ModelCarSampleDatabase.accdb<\/a><\/p>\n<ol>\n<li>You will apply encryption to your database and use the password \u00e2\u20ac\u0153PurdueGlobal.\u00e2\u20ac\ufffd<\/li>\n<\/ol>\n<p><strong>For extra help see Optional Resources for Assignment under the Academic Tools, Library link:<\/strong><\/p>\n<p><strong>Reference:<\/strong><\/p>\n<p><em>Encrypt a database by using a password<\/em><\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/office\/encrypt-a-database-by-using-a-database-password-12aa0e5c-34c6-4957-af3b-b5f5cfa9a766\">https:\/\/support.microsoft.com\/en-us\/office\/encrypt&#8230;<\/a><\/p>\n<ol>\n<li>Create a form with subform for the Customer (main form) and Customer Contacts tables (subform).<\/li>\n<\/ol>\n<p><strong>Reference:<\/strong><br \/>Alexander, M., &amp; Kusleika, D. (2019). <em>Access 2019 bible<\/em>. Wiley.<\/p>\n<p>Chapter 19: \u00e2\u20ac\u0153Working with Form Controls \/ Working with Subforms\u00e2\u20ac\ufffd<\/p>\n<ol>\n<li>Name the new form with subform CustomerContactSubForm and save it as a new form object in your database.<\/li>\n<li>You will add validation and controls for the Customer data as follows. Use the validation rule with validation text to ensure a custom error message is displayed when a rule is violated where appropriate:<\/li>\n<\/ol>\n<ul>\n<li>Company &#8211; Validate that field is not left blank<\/li>\n<li>Address &#8211; Validate that field is not left blank<\/li>\n<li>City &#8211; Validate that field is not left blank<\/li>\n<li>State &#8211; Create a dropdown box control (include at least three states in the list)<\/li>\n<li>ZipCode \u00e2\u20ac\u201c Validate that field is at leave five numeric digits<\/li>\n<li>Phone &#8211; Validate that field is not left blank and add an appropriate input mask<\/li>\n<li>Fax -Validate that field is not left blank and add an appropriate input mask<\/li>\n<li>Email &#8211; Validate that field is not left blank<\/li>\n<li>WebSite -Validate that field is not left blank<\/li>\n<\/ul>\n<p><em>Note: No validation required for the remaining fields.<\/em><\/p>\n<p><strong>Reference:<\/strong><br \/>Alexander, M., &amp; Kusleika, D. (2019). <em>Access 2019 bible<\/em>. Wiley.<\/p>\n<p>Chapter 19: \u00e2\u20ac\u0153Working with Form Controls \/ The Combo Box and List Box controls\u00e2\u20ac\ufffd<\/p>\n<p>Ulrich, L. A. &amp; Cook, K. (2019). <em>Access 2019 for dummies<\/em>. Wiley.<\/p>\n<p>Chapter 7: \u00e2\u20ac\u0153Types, Masks, and Triggers\u00e2\u20ac\ufffd<\/p>\n<p><strong>For extra help see Optional Resources for Assignment under the Academic Tools, Library link:<\/strong><\/p>\n<p><em>Restrict Data Input by Using Validation Rules<\/em><\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/office\/restrict-data-input-by-using-validation-rules-b91c6b15-bcd3-42c1-90bf-e3a0272e988d\">https:\/\/support.microsoft.com\/en-us\/office\/restric&#8230;<\/a><\/p>\n<ol>\n<li>Add one new record to the Customer table and one new record to the CustomerContacts table using the form with subform. Use your own last name in the Company field in the Customer table entry and in the Last Name field in the CustomerContacts table entry. The other data can be of your own choosing.<\/li>\n<li>Save your Microsoft Access database file for submission.<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learning Goal: I&#8217;m working on a databases question and need an explanation and answer to help me learn. Part 1 &#8211; Assignment Instructions Using the model car sample database provided, create queries to demonstrate a variety of simple, single table select query functionality to include selecting more than one field, using the where clause, using [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"disciplines":[721],"paper_types":[],"tagged":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions\/4125"}],"collection":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions"}],"about":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/types\/questions"}],"author":[{"embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/comments?post=4125"}],"version-history":[{"count":0,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions\/4125\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/media?parent=4125"}],"wp:term":[{"taxonomy":"disciplines","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/disciplines?post=4125"},{"taxonomy":"paper_types","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/paper_types?post=4125"},{"taxonomy":"tagged","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/tagged?post=4125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}