Presentation is loading. Please wait.

Presentation is loading. Please wait.

Calculations & Parameters

Similar presentations


Presentation on theme: "Calculations & Parameters"— Presentation transcript:

1 Calculations & Parameters
Advanced Queries Calculations & Parameters

2 Concept Map Access Queries Calculation Queries Limitations
Parameter Queries

3 Objective Create calculation queries. Create parameter queries.
Discuss limitations of queries.

4 Textbook Chapter Videos
The query chapters are available in video format as well:

5 Segment A: Summary Calculations

6 Summary Calculations One calculation/total for a group of records.
Example: Calculate the average rating each participant assigned to Product A.

7 Count Books by Author For each author, identify how many of their books are in the library. Extension: Also include: the average cost of those books, and the total number of pages contained in those books.

8 Segment B: Record Calculations

9 Record Calculations One calculation per record. Example: Determine the age of each participant in five years.

10 Price Increase Write a query to calculate a 15% increase in the price of each book purchased during the summer (June, July or August) listing the highest priced book first and the lowest priced book last. Format the new price as currency with two decimal places. Extension: How could you use Title as a secondary sort but display it as the first column of your query?

11 Segment C: Parameter Queries

12 Parameter Query Example: Create a query that will display all the observations for a selected ID.

13 One Author’s Books Write a query that will display all the books for a selected author. Books should be displayed in alphabetical order by title. I should be able to pick a different author last name each time I run the query. Extension: Select author based on last name as well as first name.

14 Segment D: Limitations

15 Query Limitations Queries can show only one level of grouping at a time. Queries have limited formatting options.


Download ppt "Calculations & Parameters"

Similar presentations


Ads by Google