Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Design view, create a table named Customers. Add the first field named CustomerID with AutoNumber Data Type. Add Company as the second field name,

In Design view, create a table named Customers. Add the first field named CustomerID with AutoNumber Data Type. Add Company as the second field name, and FirstName as the third field name. Accept the default data types.

Add the following fields to the Customers table (in this order), accepting the default data type of Short Text: LastName City State Zip Verify that CustomerID is the primary field.

Save the table and switch to Datasheet view. Add the following records to the table: Company FirstName LastName City State Zip Jones and Co Robert Paterson Greensboro NC 27401 Elements, Inc. Merve Kana Paterson NJ 07505 Godshall Meats, LLC Francisco De La Cruz Beverly Hills CA 90210

Import the spreadsheet in the downloaded Excel file exploring_a03_h2_Loans into a new table. Choose LoanID as the primary key and accept all other defaults in the Import Wizard.

Open the Loans table in Design view. Change the InterestRate field format to Percent. Change the field size for the CustomerID field to Long Integer. Save and close the table. Click Yes when prompted that some data may be lost.

Create a relationship between the CustomerID fields in the Customers and Loans tables. Enforce referential integrity. Save and close the Relationships window.

Create a query using the two tables that will calculate the payment amount for each loan. Add the following fields: Company, LoanID, Amount, InterestRate, Term, and LoanClass, in that order. Sort the query by LoanID in ascending order. Save the query as Loan Payments.

Use the Expression Builder to add a calculated field named Payment in the first blank column to calculate the loan payment for each loan using the Pmt function. Assume the loans have monthly payments (12 payments per year). Ensure the payment displays as a positive number. Run the query.

Switch to Design view and change the format for the Payment calculated field to Currency. Run the query again to verify your change.

In Datasheet view, add a Totals row. Use it to calculate the sum of the Amount column, the average InterestRate, and the average Term. Save and close the query.

Create a copy of Loan Payments. Save the new query as Loan Payments Summary. Open the Loan Payments Summary query in Design view and rearrange the columns as follows: LoanClass, LoanID, Amount, and InterestRate. Delete columns Company, Term, and Payment.

Group the Loan Payments Summary query by the LoanClass field. Display the number of loans in the LoanID column, the sum in the Amount column, and the average in the InterestRate column. Run the query.

Switch to Design view and display the Property Sheet. For the LoanID field, change the caption to Loans. For the Amount field, change the caption to Total Amount and change the format to Currency. For the InterestRate field, change the caption to Avg Interest Rate and change the format to Percent. Run the query. Save and close the query.

Please explain how to do this on Access. Thank you!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

Explain how technology has changed the learning environment.

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago