# Access homework 1 | Computer Science homework help

1

0

2

Using Student ID as the common field, create a one-to-many relationship between the Students table and the Scholarships Awarded table. Enforce referential integrity and enable both cascade options.

5

3

Create a relationship report with normal margins, saving it with the default name. Close all open objects.

5

4

In the last record of the Students table, change the Student ID from 9999999 to 2839403, and then close the table. (The related records in the Scholarships Awarded table will automatically update.)

1

5

Copy the Amount \$500 or More Query to create a new query with the name Awards 4th Qtr Query. Redesign the query so that the following fields display in the order given: Scholarship Name, Award Date, Amount, and Student ID. Sort the records in ascending order only by the Award Date field. Do not restrict the results by Amount. Set the criteria so that when you run the query only those records display for an award date between 10/1/18 and 12/31/18. Run the query (five records display). Save the query, and then close the query.

10

6

Create a query in Query Design view based on the Scholarships Awarded table. Add the following fields to the design grid in the order given: Scholarship Name, Major, and Amount. Sort the records in descending order by the Amount field. Set the criteria so that when you run the query only those records display that have a major of Math or Business and an amount that is greater than 200. Run the query (four records display). Save the query as Math OR Business Over \$200 Query, and then close the query.

10

7

Create a query in Query Design view based on the Students table. Add the following fields to the design grid in the order given: City, Student ID, Last Name, and First Name. Sort the records in ascending order by the City, Last Name, and First Name fields. Set the criteria so that when you run the query only those records display that have a city name that begins with the letter L. Run the query (five records display). Save the query as L Cities Query, and then close the query.

10

8

Create a query in Query Design view based on the Students table. Add the following fields to the design grid in the order given: Student ID, First Name, Last Name, Address, City, State, and Postal Code. Set the criteria so that when you run the query only those records display that are missing the postal code. Run the query (three records display). Save the query as Missing Postal Code Query, and then close the query.

10

9

Create a query in Query Design view based on both tables. Add the following fields to the design grid in the order given: Scholarship Name, First Name, Last Name, and Amount. Sort the records in ascending order by the Scholarship Name field. In the fifth column of the design grid, create a new field named Board Donation that will calculate and display the donation amount when the Board of Trustees donates an amount equal to 50 percent (0.5) of each scholarship amount. Run the query (the first recordScholarship Name that begins with Amandahas a Board Donation of 125).

10

10

Display the query in Design view. In the sixth column of the design grid, create a new field named Total Donation that will calculate and display the total donation when the amount is added to the Board’s donation amount. Run the query (the first recordScholarship Name that begins with Amandahas a Total Donation of \$375.00).

3

11

Display the query in Design view. Use the Property Sheet to format the Board Donation field as Currency with 0 decimal places and the Total Donation field with 0 decimal places, and then close the Property Sheet. Run the query, apply Best Fit to the fields, save the query as Board Donation Query, and then close the query.

6

12

Create a query in Query Design view based on the Scholarships Awarded table. Add the following fields to the design grid in the order given: Major and Amount. Sort the records in descending order by the Amount field. Sum the Amount field. Use the Property Sheet to format the Amount field with 0 decimal places, and then close the Property Sheet. Run the query (for the Major of History, the total scholarship amount is \$1,850). Apply Best Fit to the fields, save the query as Amount by Major Query, and then close the query.

10

13

Use the Query Wizard to create a crosstab query based on the Scholarships Awarded table with the Student ID field as row headings and the Major field as column headings. Sum the Amount field, and name the query Student ID and Major 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, apply Best Fit to the fields, save the query, and then close the query.

10

14

Create a query in Query Design view based on the Scholarships Awarded table. Add the following fields to the design grid in the order given: Scholarship Name, Amount, and Major. Sort the records in ascending order by the Scholarship Name field. Set the criteria so that when you run the query you are prompted to Enter the Major. Run the query, and when prompted, enter history as the criteria (four records display). Display the query in Design view and hide the Major field from the results. Run the query again, entering history when prompted. Save the query as Major Parameter Query, and then close the query.

10

15

Be sure that all database objects are closed, open the Navigation Pane, and then close Access. Submit the database as directed.

0

Total Points

100