GETTING STARTED · Open the file SC_AC19_2a_ FirstLastName _1.accdb , available for download from the SAM website. · Save the file as SC_AC19_2a_ FirstLastName _2.accdb by changing the “1” to a “2”. o...

1 answer below »


GETTING STARTED


· Open the file
SC_AC19_2a_FirstLastName_1.accdb, available for download from the SAM website.


· Save the file as
SC_AC19_2a_FirstLastName_2.accdb
by changing the “1” to a “2”.


o If you do not see the .accdb file extension in the Save As dialog box, do not type it. The program will add the file extension for you automatically.


· To complete this SAM Project, you will also need to download and save the following data files from the SAM website onto your computer:


o Support_AC19_2a_UmbrellaData.xlsx


· Open the
_GradingInfoTable
table and ensure that your first and last name is displayed as the first record in the table. If the table does not contain your name, delete the file and download a new copy from the SAM website.



PROJECT STEPS


1. Personal Insurance, Inc. is a national company that insures homeowners and renters. It also offers umbrella policies that provide additional coverage. As a regional manager, you need to be able to query the database to help make decisions and to answer questions from other employees.

Create a query based on the
Customers
table in Query Design View with the following options:


a. Add the
CustomerID,
FirstName,
LastName, and
DateOfBirth
fields to the design grid in that order.


b.
Sort
the records in
ascending
order by
LastName.


c. Save the query using
CustomerLastNameSorted
as the name.
Open the query in Datasheet View, then close it, saving if necessary.


2. Open the
HomeownersPremium
query in Design View and make the following changes to the query:


a.
Delete
the
CustomerID
column from the design grid.


b. Add criteria to select only those records where the
Premium
field value is
greater than
2,000.


c. Save the changes to the
HomeownersPremium
query.
Open the query in Datasheet View, then close it, saving if necessary.


3. Open the
LiabilityOrProperty
query in Design View and add criteria to select only those records where the
Liability
field values
equal
75,000
or
the
PersonalProperty
field values
equal
75,000. Save the changes to the query. Open the query in Datasheet View, confirm that 3 records appear in the
LiabilityOrProperty
query results, then close the query, saving if necessary.


4. Open the
ComparisonBirth
query in Design View and make the following changes to the query:


a.
Add
the
FirstName
field to the query design grid. The
FirstName
field should immediately follow the
CustomerID
field.


b. Add criteria to select only those records where the
DateOfBirth
field value is
less than 1/1/1950.


c. Set the format to
Medium Date
for the
DateOfBirth
field.


d. Set the caption to
BirthDate
for the
DateOfBirth
field.


e. Save the changes to the
ComparisonBirth
query.
Open the query in Datasheet View, confirm that the results match Figure 1, then close it, saving if necessary.



Figure 1: ComparisonBirth query results






5. Open the
StateCitySort
query in Design View and make the following changes:


a. Move the
State
field to the
beginning
of the design grid so that the order of the fields in the grid is
State,
City,
FirstName, and
LastName.


b.
Sort
the records in
descending
order by the
State
field and in
ascending
order by
City.
Save the changes to the query. View the query in Datasheet View, then close it, saving if necessary.


6. Open the
LiabilityAndProperty
query in Design View and add criteria to select only those records where the
Liability
field values
equal
100,000
and
the
PersonalProperty
field values
equal
100,000. Save the changes to the query. Open the
LiabilityAndProperty
query in Datasheet View, confirm that 2 records appear in the query results, then close the query, saving if necessary.


7. Open the
MichiganCustomers
query in Design View and add criteria to select only those records where the
State
field value is
MI. Save the changes to the query. Open the query in Datasheet View, confirm that 7 records appear in the query results, then close the query, saving if necessary.


8. Because customers of Personal Insurance reside in many different cities, it is often difficult to know the exact spelling of a city. Open the
CustomerCity
query in Design View and add criteria to select only those records where the
City
field value
begins with the letters Al. Save the changes to the query. Open the query in Datasheet View, confirm that 2 records appear in the query results, then close the query, saving if necessary.


9. Many queries require data from more than one table. For example, you may want a query to display the customer last name rather than the customer ID for a renter's policy. Create a query in Design View based on the
Customers
and
Renters
tables with the following options:


a. Add the
Customers
table and the
Renters
table to the design window.


b. Add the
LastName
field from the
Customers
table to the design grid.


c. Add the
PolicyNumber
and
Premium
field from the
Renters
table to the design grid.


d.
Join
the
Customers
table and the
Renters
table by drawing a line from the
CustomerID
field in the
Customers
table to the
CustomerID
field in the
Renters
table. (Hint: Because the field names are identical in both tables, the line may already be there.)


e. Save the query using
Customer-Renter
as the name.
Open the query in Datasheet View, then close it, saving if necessary.


10. Because customers live in different states, it is often advantageous to create a query where you can change one criteria using a parameter query. Open the
StatesParameter
query in Design View.


a. Add parameter criteria to the
State
field to replace the current "FL" criteria. The new parameter criteria should prompt the user with
Enter desired state
as the text.


b. Save the changes to the query.


c. View the query in Datasheet View. Enter
PA
when prompted.
Confirm that 8 records appear in the query results then close the query, saving if necessary.


11. Open the
TopValuesProperty
query in Design View. Modify the query to
sort
the
PropertyDamage
amounts in
descending
order. Change the Return value to display only the top
5
records. Open the query in Datasheet view, then close the query, saving if necessary.


12. Open the
TotalCoverage
query in Design View. Modify the query by creating a calculated field. Enter
TotalCoverage: [Liability]+[PropertyDamage]
in the Zoom dialog box of the first empty column in the design grid. Save the query. Open the query in Datasheet View, then close the query, saving if necessary.


13. Open the
AveragePremium
query in Design View and perform the following tasks:



a. Add a
Totals
row to the design grid.


b. Select
Avg
as the calculation in the Total row.


c. Set the caption to
Avg Prem
for the Premium field.
Save the changes to the query. Open the query in Datasheet View and confirm that it matches Figure 2. Close the query, saving if necessary.



Figure 2: AveragePremium query results






14. Open the
CustomersWithoutHomes
query in Design View and perform the following tasks:


a. Change the
join property
for the relationship between the
Customers
and
Homeowners
tables to select
ALL
records from the
Customers
table and only those records from the
Homeowners
table where the joined fields are equal.


b. Add the
Is Null
criteria for the
PolicyNumber
field and add an
Ascending
sort order on the
LastName
field.
Save the changes to the query. Open the query in Datasheet View and confirm that there are 21 records in the query result. Close the query, saving if necessary.


15. Open the
UniqueStates
query in Design View. Modify the query to list all states only once. Save the changes to the query. Open the query in Datasheet View and confirm that there are 15 records in the query result. Close the query, saving if necessary.


16. Create a crosstab query based on the
MidAtlantic
table with the following options:


a. Use only data from the
MidAtlantic
table in the crosstab.


b. Use the
State
field for the row headings.


c. Use the
City
field for the column headings.


d. Use a
Count
of the
CustomerID
field as the calculated value for each row and column intersection, and include row sums in the crosstab query.


e. Save the query using
State-City Crosstab
as the name.
View the query, then save and close it.


17. Export the
Renters
table as an Excel file (.xlsx) with the name
Renters
to the same folder as the one that stores your database. Do not export the data with formatting and layout. Save the export steps using
Export-Renters
as the name. Do not add a description.
Save the changes to the table and close it.


18. Use the Import Spreadsheet Wizard to import the data from the
Support_AC19_2a_UmbrellaData.xlsx
support file and
append
it to the
Umbrella
table. Do not save the Import steps. Open the
Umbrella
table in Datasheet View. It should contain 14 records. Close the table.


19. Rename the
PennsylvaniaOwners
query as
PennsylvaniaCustomers
in the Navigation Pane.


20. Group the objects in the Navigation Pane by
Tables and Related Views.


Save and close any open objects in your database. Compact and repair your database, close it, and then exit Access. Follow the directions on the SAM website to submit your completed project.

Answered Same DayApr 24, 2021

Answer To: GETTING STARTED · Open the file SC_AC19_2a_ FirstLastName _1.accdb , available for download from the...

Neha answered on Apr 27 2021
161 Votes
55384/Renters.xlsx
Renters
        PolicyNumber        CustomerID        Liability        PersonalProperty        Deductible        Premium
        R10223        11004        100,000.00        75,000.00        500.00        171.00
        R10334        11017        100,000.00        50,000.00        500.00        242.00
        R11234        11010        200,000.00        10,000.00        1,000.00        212.00
        R11345        11015        75,000.00        50,000.00        0.00        183.00
        R11999        11032        100,000.00        100,000.00        1,000.00        198.00
        R12345        11019        50,000.00        50,000.00        0.00        154.00
        R1
2455        11029        100,000.00        50,000.00        500.00        207.00
        R12666        11042        100,000.00        85,000.00        500.00        197.00
        R12788        11033        100,000.00        75,000.00        500.00        204.00
        R12900        11048        200,000.00        150,000.00        1,000.00        225.00
        R13100        11038        100,000.00        45,000.00        0.00        213.00
        R13111        11036        50,000.00        65,000.00        500.00        220.00
        R13245        11041        200,000.00        100,000.00        1,000.00        181.00
        R13456        11022        100,000.00        100,000.00        1,000.00        196.00
        R14111        11045        50,000.00        50,000.00        500.00        179.00
        R14222        11049        100,000.00        60,000.00        500.00        195.00
        R16234        11012        100,000.00        50,000.00        500.00        195.00
        R17111        11016        100,000.00        60,000.00        500.00        203.00
        R17888        11027        50,000.00        50,000.00        500.00        168.00
        R17890        11005        150,000.00        100,000.00        1,000.00        184.00
        R18765        11007        100,000.00        50,000.00        500.00        156.00
1
2
3
4
5
6
7
8
9
A
B
C
D
E
55384/scac192ajoshtroh2.accdb
        IfSuccessful_Status        GA_Status_Icon        SAM_Logo
        true                
        false                
        ID        FirstName        LastName        AssignmentGUID        UserID
        false        Josh        Troh        {1218CFDD-288E-4A8A-9063-9957F0D625BD}        {1218CFDD-288E-4A8A-9063-9957F0D625BD}
        ID        FirstName        LastName        ProjectName        SubmissionNum        MaxScore        Score        EngineVersion
        ID        StepNumber        Description        IfSuccessful        StepScore        StepMaxScore        ErrorText        ActionName        StepActionOrder
        CustomerID        FirstName        LastName        Address        City        State        PostalCode        DateOfBirth
        11001        Elian        Velasquez        88 Pin Oak Ave.        Chester        PA        19013        12/31/48
        11002        Joaquin        Howe        598 West Ramblewood Dr.        Harrison        MI        48045        8/9/45
        11003        Heaven        Barton        31 Gartner Court        North Olmstead        OH        44070        3/19/65
        11004        Elias        Stone        350 Vermont Ave.        Egg Harbor        NJ        08234        9/17/47
        11005        Melany        Harrison        8388 Sherman Court        Somerset        NJ        08873        4/10/72
        11006        Anne        Rich        84 Beechwood St.        Windsor        CT        06095        1/2/74
        11007        Gabrielle        Drake        99 S. Windsor Ave.        Lansdale        PA        19446        2/13/96
        11008        Malik        Kelley        7409 W. Glendale St.        Bristol        CT        06010        5/27/80
        11009        Darren        Savage        883 Rockland Dr.        Romeoville        IL        60446        5/3/76
        11010        Xavier        Wilcox        50 Oak Meadow St.        Lebanon        PA        17042        7/13/95
        11011        Caiden        Vega        21 Riverside Dr.        Warminster        PA        18974        9/8/54
        11012        Julia        Ellison        8730 Swanson Court        Jacksonville Beach        FL        32250        10/31/39
        11013        Beckett        Valencia        68 Orange St.        Flowery Branch        GA        30542        2/26/59
        11014        Cadence        Pittmas        7199 Locust Court        Rochester        NY        14606        4/11/73
        11015        Nevaeh        Huber        811 North Winding Way        West Lafayette        IN        47906        9/9/50
        11016        Karma        Wood        512 Sleepy Hollow Ave.        Eastpointe        MI        48021        6/5/90
        11017        Remington        Wilkerson        9169 Ramblewood Dr.        Alabaster        AL        35007        4/29/96
        11018        Madalyn        Rush        7038 North Lane        Lincoln Park        MI        48146        5/26/38
        11019        Jazlyn        Brennan        9 Studebaker St.        Waxhaw        NC        28173        3/30/95
        11020        Sherlyn        Cowan        74 East Primrose Lane        Kunkletown        PA        18056        2/5/66
        11021        Derick        Clarke        78 Old York St.        Kearny        NJ        07032        2/14/81
        11022        Kamila        Juarez        281 Iriquois St.        Shrewsbury        MA        01545        3/2/97
        11023        Edith        Kelly        348 South Foxrun St.        Bluffton        SC        29910        11/9/41
        11024        Shelby        Hancock        35 South Canal St.        Niles        MI        49120        12/12/59
        11025        Iyana        Joseph        345 Magee Ave.        Media        PA        19063        10/21/65
        11026        Mareli        Brooks        9949 Madison Ave        Forest Hills        NY        11375        1/15/69
        11027        Taylor        Shea        8824 North Thomas Ave.        Bridgewater        NJ        08807        9/15/46
        11028        Natasha        Mcdonald        668 Charles Street        Muskegon        MI        49441        3/19/43
        11029        Selena        Francis        9607 Charles Ave.        Romulus        MI        48174        4/5/94
        11030        Clayton        Chavez        537 E. Young St.        Allentown        PA        18102        5/28/76
        11031        Asia        Walters        7394 Proctor Dr.        Andover        MA        01810        6/1/68
        11032        Jax        Levy        33 E. Elmwood Ave.        Deltona        FL        32725        6/14/44
        11033        Arjun        Andersen        599 Homestead St.        Seldon        NY        11784        4/4/91
        11034        Trevin        Zavala        7176 Atlantic Rd.        Key West         FL        33040        6/7/87
        11035        Aniya        Hester        164 Cottage...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here