104k views
5 votes
Modify this query so results are grouped by values in the InsuranceProvider field, and values in the Premium field are summarized with the Sum function. Run the query.

a. On the query tools design tab, in the show/hide group, click the totals button. And the total row, under premium, expand the group by list and select sum.
b. On the query tools design tab, in the results group, click the run button.
c. On the query tools design tab, under the premium field, click the group by button and select sum.
d. On the query tools design tab, in the totals group, click the run button.

User Rgvlee
by
8.4k points

1 Answer

2 votes

Final answer:

To group query results by InsuranceProvider and summarize Premiums, add a Totals row, set Premium to Sum, and run the query.

Step-by-step explanation:

To modify a query so that the results are grouped by values in the InsuranceProvider field and values in the Premium field are summarized using the Sum function, you would typically take the following steps within a database management tool like Microsoft Access:

  1. Go to the Query Tools Design tab.
  2. Within the Show/Hide group, click the Totals button to add a Totals row to the query design.
  3. In the added Total row under the Premium field column, click to expand the Group By list and select Sum to summarize Premium field values.
  4. Next, ensure that the InsuranceProvider field's Total row is set to Group By, which groups the results by the InsuranceProvider field.
  5. Finally, in the Results group, click the Run button to execute the query and view the results.

By following these steps, you will group the data by insurance providers and calculate the total premiums for each provider.

User Peter Ericson
by
7.9k points