GO19_AC_CH02_GRADER_2F_HW – Student Publications 1.0
Project Description:
In this project, you will use a database to answer questions about student publications at a college. You will import an Excel spreadsheet as a new table in the database, create a relationship between two tables, and create queries using numeric, compound, and wildcard criteria using the fields in one or both tables. You will create calculated fields, group data when calculating statistics, create a crosstab query, and create a parameter query.
Start Access. Open the file Student_Access_2F_Student_Publications.accdb downloaded with this project.
Import the records from the downloaded Excel file named a02F_Student_Papers.xlsx as a new table named 2F Student Papers into the database. Use the first row of the Excel worksheet as the table column headings, and set Paper ID as the primary key. Complete the wizard and do not save the import steps. After importing the records, open the 2F Student Papers table and change the data type of the Student ID field to Short Text. Apply Best Fit to the table, and then save and close the table.
Using Publisher ID as the common field, create a one-to-many relationship between the 2F Publishers table and the 2F Student Papers table. Enforce referential integrity and enable both cascade options. Create a relationship report with normal margins, and then save the report as 2F Relationship Report. Close all open objects.
Create a query in Query Design view based on the 2F Student Papers table to answer the question, What is the Student ID, Home Campus, Award Paid, and Publisher ID for awards greater than or equal to $50, sorted in ascending order by the Student ID field? Display the fields in the order listed in the question. Five records match the criteria. Save the query as 2F Awards $50 or More Query.
Copy the 2F Awards $50 or More Query to create a new query with the name 2F 2nd Qtr NW Students Query. Redesign the query to answer the questions, Which students (Student ID) from the Northwest campus had papers published between 4/1/22 and 6/30/22, and what was the Paper Name, the Award Paid, and the Category, sorted in ascending order by the Publication Date field? Do not display the Home Campus field in the query results, and display the rest of the fields in the order listed in the question. Three records display. Close the query, saving the changes to the query.
Create a query in Query Design view based on the 2F Student Papers table to answer the question, Which Paper IDs, Paper Names, and Category for students from the Southeast and Northeast campuses were published that had an Award Paid greater than $25, sorted in descending order by the Award Paid field? Display the fields in the order listed in the question. Six records match the criteria. Run the query (six records display). Save the query as 2F SE OR NE Over $25 Query, and then close the query.
Create a query in Query Design view based on both tables to answer the questions, Which Paper Names were published with a Publisher Name that has Texas as part of its name, what is the Contact Name and Contact Phone Number, and what was the Award Paid, sorted in descending order by the Award Paid field? (Hint: Use a wildcard character in the criteria row.). Run the query (eight records display). Save the query as 2F Texas Publishers Query, and then close the query.
Create a query in Query Design view based on the 2F Student Papers table to answer the question, In ascending order by the Paper ID field, what will be the Federation Donation to the Writing Lab if the Federation donates an additional 50 (.5) percent of each award paid to students? Run the query (the first record—Paper ID P-01—has a Federation Donation of 20).
Display the query in Design view. In the fourth column of the design grid, create a new field named Total Donation that will answer the question, What is the total value of each scholarship after the alumni association donates an additional 50%? Run the query (the first record—Paper ID P-01—has a Total Donation of $60.00).
Display the query in Design view. Use the Property Sheet to format the Federation Donation field as Currency with 2 decimal places, and then close the Property Sheet. Run the query (for the Paper ID P-20, the Federation Donation is $22.50 and the Total Donation is $67.50). Apply Best Fit to the fields, save the query as 2F Federation Donation Query, and then close the query.
Create a query in Query Design view based on the 2F Student Papers table and the Sum aggregate function to answer the question, What are the total awards paid for each Category, sorted in descending order by the Award Paid field? Use the Property Sheet to format the Award Paid field with 0 decimal places, and then close the Property Sheet. Run the query (for the Category of Student Life, the sum of the awards paid is $265). Apply Best Fit to the fields, save the query as 2F Awards by Category Query, and then close the query.
Use the Query Wizard to create a crosstab query based on the 2F Student Papers table with the Home Campus field as row headings and the Category field as column headings. Sum the Award Paid field, and name the query 2F Campus and Category Crosstab Query. Display the query in Design view. Use the Property Sheet to format the last two columns with 0 decimal places, and then close the Property Sheet. Run the query, and then apply Best Fit to the fields. Save the changes to the query, and then close the query.
Create a query in Query Design view based on the 2F Student Papers table that prompts you to Enter the Home Campus, and then answers the question, What is the Home Campus, Student ID, Paper Name, Category, and Publication Date for student publications, sorted in ascending order by the Publication Date field? Run the query, and when prompted, enter southwest as the criteria (seven records display). Save the query as 2F Campus Parameter Query, and then close the query.
Save and close the database, and then submit for grading.