Cuymaca College Query Design Worksheet

User Generated

nvunznfzebb5

Business Finance

Cuymaca College

Description

File Link

SKILLS COVERED IN THIS PROJECT

Create a summary query in Design view.

Edit a query in Design view.

Add fields to a query.

Execute a query.

  • Save a query.

Sort query results.

  • Add aggregate functions.

Open the NewYorkDMV-03.accdb database start file.

  • The file will be renamed automatically to include your name. Change the project file name if directed to do so by your instructor.
  • Enable content in the database.Datasheet view of query results shows 22 records.Figure 3-104 Summary query results counting tickets by city and factor
  • Create a new summary query in Design view. The query counts the number of tickets issued by city and violation.
  • Add the Ticketstable into the Query Design window.
  • Increase the size of the table object to display all of the fields.

Add the following fields into the query: City, PrimaryFactor, and TicketNumber.

  1. Add the Total row to the query.

Group By the Cityand PrimaryFactorfields and Count the TicketNumber field.

Save the query as TicketCountByCityAndFactor.

  1. Run the query. The datasheet should display 22 records.

Adjust the field column widths using AutoFit or Best Fit. The datasheet should be similar to Figure 3-104.

  1. Save the changes to the query.Datasheet view of query results shows nine records.Figure 3-105 Summary query results counting tickets by factor

Save a copy of the query as TicketCountByFactor.

Edit the TicketCountByFactorquery in Design view. The query should show the total tickets issued for each violation factor, sorted in descending order by count.

Delete the City field.

Sort the TicketNumber field in descending order.

  1. Save and run the query. The datasheet should match Figure 3-105.

Close the query.

Create a new summary query in Design view. The query provides summary data on the total fines assessed against each driver.

  1. Add both tables into the Query Design window.Datasheet view of query resultsFigure 3-106 Summary query results of tickets by driver

Increase the size of the table objects to display all of the fields.

Add the following fields into the query: LicenseNumber, FirstName, LastName, Fine, and TicketNumber.

Add the Total row to the query.

  1. Group By the LicenseNumber, FirstName, and LastName fields, Sum the Fine field and Count the TicketNumber field.

Sort the Fine field in descending order.

  1. Save the query as TicketsByDriver.

Run the query. The datasheet should display 24 drivers who have received tickets, sorted in descending order by the total dollar amount of their fines (Figure 3-106).

  1. Close the query.


Explanation & Answer:
Worksheet
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Here is y...


Anonymous
Really helped me to better understand my coursework. Super recommended.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags