Presentation is loading. Please wait.

Presentation is loading. Please wait.

In this activity, we are going to create a query for a computer company. The query will calculate the total and average expenses of the salesmen for each.

Similar presentations


Presentation on theme: "In this activity, we are going to create a query for a computer company. The query will calculate the total and average expenses of the salesmen for each."— Presentation transcript:

1 In this activity, we are going to create a query for a computer company. The query will calculate the total and average expenses of the salesmen for each department. 1.Start Microsoft Access and open the database file ch11_01.mdb in the hard disk. 2.Click ‘Queries’ in the ‘Objects’ column and then click. 3.Double-click ‘Simple Query Wizard’ in the ‘New Query’ dialogue box. New Activity 4 Creating a query for a computer company

2 4.In the Simple Query Wizard window, select the table ‘Salesmen Expenses’ from the ‘Tables/Queries’ pull down menu. Activity 4 Creating a query for a computer company

3 5.Click to move all the fields except ‘Salesman’ from the list box ‘Available Fields’ to that of ‘Selected Fields’. Click when ready. Activity 4 Creating a query for a computer company Next

4 6.Select the ‘Summary’ option to create a summary query that shows the total and average expenses. Then, click. Activity 4 Creating a query for a computer company Summary Options

5 7.In the ‘Summary Options’ window, click the check boxes to include the total (Sum) and average (Avg) expenses as shown below. Click to return to the previous screen in Step 6. OK Only numeric fields can be chosen for calculations. Activity 4 Creating a query for a computer company

6 8.Click. 9.Enter ‘Statistics Query’ as the query title and then click. Activity 4 Creating a query for a computer company Next Finish

7 (a) Which department has the highest total expense on transportation? ____________________________________ (b) Create a new query with the Simple Query Wizard to calculate the total expense on meal. Total expense on meal is $________. 10.Close the query and database file. Then, exit Microsoft Access. Activity 4 Creating a query for a computer company CPU 5513

8 (a) Which department has the highest total expense on transportation? ____________________________________ (b) Create a new query with the Simple Query Wizard to calculate the total expense on meal. Total expense on meal is $________. 10.Close the query and database file. Then, exit Microsoft Access. Activity 4 Creating a query for a computer company CPU 5513


Download ppt "In this activity, we are going to create a query for a computer company. The query will calculate the total and average expenses of the salesmen for each."

Similar presentations


Ads by Google