GO19_AC_CH02_GRADER_2E_HW – Biology Supplies 1.1
Project Description:
In this project, you will use a database to answer questions about biology laboratory supplies at a college. You will open and save an existing database, create a relationship between two tables, sort records in a table, create queries in Design view, create queries from existing queries, sort query results, and specify criteria in a query.
Start Access. Open the downloaded file named Student_Access_2E_Biology_Supplies.accdb, and enable the content.
Using Vendor ID as the common field, create a one-to-many relationship between the 2E Vendors table and the 2E Biology Lab Supplies table. Enforce referential integrity and enable both cascade options.
Create a relationship report with normal margins. Save it as 2E Relationships Close all open objects.
In the last record of the 2E Vendors table, change the data in the Vendor ID field from V-100 to V-001, save and then close the table. (The related records in the 2E Biology Lab Supplies table will automatically update.)
Open your 2E Biology Lab Supplies table. Sort the records first in Descending order by Price Per Item and then in Ascending order by Category. Close the table, saving changes to the table.
Create a query in Query Design view based on the 2E Biology Lab Supplies table to answer the question: What is the item ID, item name, room, location, and quantity in stock for all of the items, sorted in ascending order by the Room field and the Location field? Display the fields in the order listed in the question. Save the query as 2E Items by Room Query. Close the query.
Copy the 2E Items by Room Query to create a new query with the name 2E Item Categories Query. Redesign the query to answer the question: What is the item ID, item name, category, vendor ID, and quantity in stock for all items, sorted in ascending order by the Category field and the Vendor ID field? Display only the fields necessary to answer the question and in the order listed in the question. Be sure that the fields are sorted in the correct order in Design view, so that the results display the categories in ascending order, then the Vendor IDs within each category in ascending order. Close the query, saving the design changes.
Copy the 2E Items by Room Query to create a new query with the name 2E Supplies Sort Query. Redesign the query to answer the question: What is the item name, category, price per item, and quantity in stock for all supplies, sorted in ascending order by the Category field and then in descending order by the Price Per Item field? Display only the fields necessary to answer the question and in the order listed in the question. Close the query, saving the design changes.
Copy the 2E Supplies Sort Query to create a new query with the name 2E Kits Query. Redesign the query to answer the question: What is item name, category, price per item, quantity in stock, and vendor ID for all items that have a category of kits, sorted in ascending order by the Item Name field? Do not display the Category field in the query results, and display the rest of the fields in the order listed in the question. Run the query; six records match the criteria. Close the query, saving the design changes
Create a query in Query Design view based on the 2E Vendors table to answer the question: What is the vendor ID, vendor name, and phone number where the phone number is blank, sorted in ascending order by the Vendor Name field? Display the fields in the order listed in the question. Run the query; two records match the criteria. Save the query as 2E Missing Phone Query. Close the query.
Be sure that all database objects are closed, open the Navigation Pane, and then close Access. Submit the Student_Access_2E_Biology_Supplies.accdb database as directed.