Chapter 3 - Customize, Analyze and Summarize Query Data Flashcards

Chapter Summary Objectives and Glossary

1
Q

Objective - Understand the order of operations.

A

The order of operations determines the sequence by which operations are calculated in an expression. Evaluate expressions in parentheses first, then exponents, then multiplication and division, and, finally, addition and subtraction. Operations of equal value will be calculated from left to right. A solid understanding of these rules will enable you to easily create calculated fields in Access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Objective - Create a calculated field in a query.

A

When creating a query, you may need to create a calculation based on the fields from one or more tables. Add a calculated field in the Design view of a query to the first blank column or by inserting a blank column where needed. A formula used to calculate new fields from the values in existing fields is known as an expression. An expression can consist of a number of fields, operators (such as * , / , + , or −), functions (such as IIf), and constants (numbers). When creating a calculated field, you must follow proper syntax—the set of rules that Access follows when evaluating an expression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Objective - Create expressions with the Expression Builder.

A

Launch the Expression Builder while in the query design grid to assist you with creating a calculated field (or other expression). The Expression Builder helps you create expressions by supplying you with the fields, operators, and functions you need to create them. When you use the Expression Builder to help you create expressions, you can eliminate spelling errors in field names. Another advantage is with functions; functions require specific arguments in a specific order. When you insert a function using the Expression Builder, the builder gives you placeholders that tell you where each argument belongs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Objective - Use built-in functions in Access.

A

A function produces a result based on variable inputs known as arguments. Once you identify what you need a function to do, you can open the Built-In Functions folder in the Expression Builder to see if the function exists. If it does, add the function to the expression box and supply the required arguments. Functions work the same in Access and Excel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Objective - Perform date arithmetic

A

All dates and times in Access are stored as the number of days that have elapsed since December 31, 1899. Working with dates in Access can be challenging, especially when performing date arithmetic. Fortunately, Access has some built-in functions to help work with dates and date arithmetic. Sample functions include DateDiff (), DateAdd(), Date(), and Now(). These functions help perform arithmetic on date fields.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Objective - Add aggregate functions to datasheets and queries

A

Aggregate functions perform calculations on an entire column of data and return a single value. Aggregate functions—such as Sum, Average, and Minimum—are used when you need to evaluate a group of records rather than the individual records in a table or query. Access refers to aggregate functions as Totals. In the Datasheet view of a query or table, click Totals to add a Total row to the bottom of the datasheet. When you create a query in Design view, click Totals to show the Total row.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Aggregate Function

A

A function that performs calculations on an entire column of data and returns a single value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Argument

A

A variable or constant input, such as a cell reference or value, needed to complete a function. The entire group of arguments for a function is enclosed within parentheses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Constant

A

An unchanging value, such as a birth date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Date Arithmetic

A

The process of manipulating dates, or adding or subtracting a constant from a date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Date formatting

A

Formatting that affects a date’s display without changing the actual underlying value in the table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DatePart Function

A

Enables you to isolate a specific part of a date, such as the year.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Expression

A

A formula used to calculate new fields from the values in existing fields.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Expression Builder

A

A tool in Access to help you create expressions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Function

A

A predefined computation that simplifies creating a complex calculation and produces a result based on inputs known as arguments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

IIf function

A

A predefined logical formula that evaluates a condition and returns one value if the condition is true and a different value if the condition is false.

17
Q

Order of Operations

A

Determines the sequence by which operations are calculated in an expression.

18
Q

Pmt Function

A

A predefined formula that calculates the periodic payment for a loan with a fixed interest rate and fixed term.

19
Q

Syntax

A

The rules that dictate the structure and components required to perform the necessary calculations in an equation or evaluate expressions.

20
Q

Total row

A

A table row that appears below the last row of records in an Excel table, or in Datasheet view of a table or query, and displays summary or aggregate statistics.

21
Q

Totals Query

A

A query that contains an additional row in the design grid and is used to display only aggregate data when the query is run.