access lesson 13 Flashcards
parameter query
allows you to specify a criterion for the query result at the time that the query is executed
multi-table query
could be used to display all of the orders placed by each customer
what happens if the tables in a multi-table query are not already defined by a relationship?
drag the foreign key in one table and relate it to the other
what happens if there isn’t a direct relationship between tables in a multi-table query?
add a table that can be related to both of the previously added tables to link them
aggregate query
used when you wish to calculate summary statistics. used to group query results into categories based on the values for a field and then perform calculations for each category.
“group by” option
used when you wish to use the values for that field to categorize the records in the query results
“where” option
used to add criteria for that field
“sum” option
sum of results
adding a calculated field
- provide Access a name
2. define the calculation to be performed
how do you use another field as part of the calculation?
”[ ]”
what do crosstab queries in Access resemble?
PivotTables in Excel
crosstab queries
used to create a multi-dimensional view of our data
the Crosstab
contains at least two group by fields (one used for column labels, one used for row labels)
used for summary calculations