Deck 7: Improving Queries
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/84
Play
Full screen (f)
Deck 7: Improving Queries
1
In Query Design View, one-to-many join lines identify linking fields between related tables.
True
2
Multiple criteria added to the same line of the query design grid means that each must be true for the record to appear in the datasheet.
True
3
OR queries narrow the number of records that will appear in the datasheet because a record must be true for all criteria.
False
4
A query can display fields from one or more tables in a relational database.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
5

In the accompanying figure, the criteria in the first row of the query would be considered AND criteria.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
6
Sort orders defined in Query Design View are not saved with the query object.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
7

In the accompanying figure, the criteria in the TourStartDate column would be considered OR criteria.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
8
A select query can be used to develop summary calculations, such as the sum of the values in a field.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
9
In Query Design View, a table's name displays in the field list title bar.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
10
Access helps you with criteria syntax in the query design grid.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
11
If you change a customer name from "Miller" to "Millen" in a query's datasheet, you will need to make the update in any other query that also displays this customer's name.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
12
Each criteria row of the query design grid is evaluated separately.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
13
In a query, the <> operator means not equal.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
14

In the accompanying figure, fields from how many tables will display on the datasheet?
A) 1
B) 2
C) 3
D) 4
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
15

In the accompanying figure, item 2 refers to a(n) ____.
A) field list
B) one-to-many link line
C) query design grid
D) Show Table window
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
16
When you open a query in Datasheet View, you run it.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
17
Deleting a field from the query design grid deletes it from the database table that contains that field.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
18
You can specify more than one sort field in Query Design View.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
19
A select query is the most common type of query.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
20
Which type of query retrieves data from one or more linked tables and displays the results in a datasheet?
A) Common
B) Select
C) Linking
D) Web
A) Common
B) Select
C) Linking
D) Web
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
21

In the accompanying figure, item 3 points to ____.
A) a field from the Payments table
B) a field from the Tours table
C) the Payments field list
D) the Sales field list
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
22

In the accompanying figure, 1 refers to a ____.
A) function
B) operator
C) expression
D) calculated field name
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
23
In the query design grid, what characters surround text criteria?
A) Pound signs (#)
B) Dollar signs ($)
C) Percent signs (%)
D) Quotation marks ("")
A) Pound signs (#)
B) Dollar signs ($)
C) Percent signs (%)
D) Quotation marks ("")
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
24
An SQL statement determines how the resulting records are sorted after the ____ keyword.
A) SELECT
B) LINK
C) FROM
D) ORDER BY
A) SELECT
B) LINK
C) FROM
D) ORDER BY
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
25
____ criteria are two or more criteria on the same Criteria row of the query design grid.
A) OR
B) Expand
C) AND
D) Wildcard
A) OR
B) Expand
C) AND
D) Wildcard
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
26

How many calculated fields are shown in the accompanying figure?
A) 1
B) 2
C) 3
D) 4
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
27
The < comparison operator means ____.
A) less than
B) not equal to
C) greater than
D) null
A) less than
B) not equal to
C) greater than
D) null
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
28

In the accompanying figure, how many fields will display on the resulting datasheet?
A) 3
B) 4
C) 5
D) 6
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
29
The wildcard character that represents one character in query criteria is the ____.
A) asterisk (*)
B) exclamation point (!)
C) tilde (~)
D) question mark (?)
A) asterisk (*)
B) exclamation point (!)
C) tilde (~)
D) question mark (?)
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
30
An SQL statement determines what fields are selected after the ____ keyword.
A) SELECT
B) FROM
C) ORDER BY
D) LIST
A) SELECT
B) FROM
C) ORDER BY
D) LIST
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
31
The < comparison operator means ____.
A) greater than
B) less than
C) like
D) not
A) greater than
B) less than
C) like
D) not
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
32

In the accompanying figure, item 1 refers to a(n) ____.
A) table name
B) field list
C) query design grid
D) one-to-many join line
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
33
The wildcard character that represents any combination of characters in query criteria is the ____.
A) asterisk (*)
B) exclamation point (!)
C) tilde (~)
D) question mark (?)
A) asterisk (*)
B) exclamation point (!)
C) tilde (~)
D) question mark (?)
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
34
A(n) ____ character is used in criteria to represent any combination of characters.
A) Wildcard
B) Default
C) Criteria
D) Expression
A) Wildcard
B) Default
C) Criteria
D) Expression
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
35
The > comparison operator means ____.
A) greater than
B) greater than or equal to
C) less than
D) less than or equal to
A) greater than
B) greater than or equal to
C) less than
D) less than or equal to
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
36
An SQL statement determines how the tables are joined after the ____ keyword
A) SELECT
B) RELATE
C) FROM
D) ORDER BY
A) SELECT
B) RELATE
C) FROM
D) ORDER BY
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
37
In Query Design View, primary key fields in a field list are ____.
A) underlined
B) the first field listed
C) the last field listed
D) indicated with a key icon
A) underlined
B) the first field listed
C) the last field listed
D) indicated with a key icon
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
38
When the comparison operator Null is used as criteria in the query design grid, the query finds records in which ____.
A) the value is not equal to the text "Null"
B) the field value is equal to the text "Null"
C) any value has been entered for a field
D) no value has been entered for a field
A) the value is not equal to the text "Null"
B) the field value is equal to the text "Null"
C) any value has been entered for a field
D) no value has been entered for a field
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
39

In the accompanying figure, what is the primary key field of the Tours table?
A) TourNo
B) Customers
C) Sales
D) Tours
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
40
The >= comparison operator means ____.
A) less than or greater than
B) within
C) in
D) greater than or equal to
A) less than or greater than
B) within
C) in
D) greater than or equal to
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
41
Which arithmetic operator signifies division?
A) ^
B) *
C) /
D) \
A) ^
B) *
C) /
D) \
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
42
The ____ function returns a number of characters from the first part of a field.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
43
The ____ function returns the number of characters in a field.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
44
Use the ____ Query Wizard to guide you through the steps of creating a crosstab query.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
45
The data displayed in a query is sometimes called a(n) ____ view of the data.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
46
Which row in the query design grid identifies which of the three positions each field takes in the crosstab query?
A) Group By row
B) Total row
C) Values row
D) Crosstab row
A) Group By row
B) Total row
C) Values row
D) Crosstab row
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
47
Use the ____ check box in the query design grid to select or unselect a field to display in the resulting datasheet.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
48
Which aggregate function would NOT work well on a Short Text field?
A) Sum
B) Min
C) Max
D) Count
A) Sum
B) Min
C) Max
D) Count
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
49
A(n) ____ query is used to calculate statistics about a group of records.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
50
Which function should you use to calculate the monthly payment on a loan?
A) PMT
B) LOAN
C) PAY
D) RATE
A) PMT
B) LOAN
C) PAY
D) RATE
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
51
Which arithmetic operator signifies exponentiation?
A) #
B) *
C) /
D) ^
A) #
B) *
C) /
D) ^
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
52
Which aggregate function is used to find the average of values in a field?
A) Avg
B) Average
C) Mean
D) Mode
A) Avg
B) Average
C) Mean
D) Mode
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
53
The Find ____ Query Wizard is used to determine whether a table contains duplicate values in one or more fields.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
54
Which aggregate function is used to find the number of values in a field?
A) Values
B) Num
C) Number
D) Count
A) Values
B) Num
C) Number
D) Count
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
55
Which function should you use to calculate today's current date?
A) CURRENT
B) DATE
C) YEAR
D) DAY
A) CURRENT
B) DATE
C) YEAR
D) DAY
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
56
____ queries summarize data in which one or more fields are chosen for the row headings, another for the column heading, and yet another for the field summarized within the datasheet itself.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
57
A summary query calculates statistics about ____.
A) one record
B) groups of records
C) one field
D) groups of fields
A) one record
B) groups of records
C) one field
D) groups of fields
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
58
When you create a summary query, which row is added to the query design grid?
A) Criteria
B) Table
C) Field
D) Total
A) Criteria
B) Table
C) Field
D) Total
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
59
Which query wizard helps you build a crosstab query?
A) Select Query Wizard
B) Crosstab Query Wizard
C) Simple Query Wizard
D) Find Aggregates Query Wizard
A) Select Query Wizard
B) Crosstab Query Wizard
C) Simple Query Wizard
D) Find Aggregates Query Wizard
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
60
Which aggregate function is used to find the total of values in a field?
A) Sum
B) Sub
C) Subtotal
D) Total
A) Sum
B) Sub
C) Subtotal
D) Total
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
61
Filtering refers to reordering records in either ascending or descending order based on the values in the field. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
62
Match each of the following with the correct definition or statement.
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A predefined Access formula that returns a value such as a subtotal or count
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A predefined Access formula that returns a value such as a subtotal or count
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
63
Match each of the following with the correct definition or statement.
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A field of data that is created based on values of other fields
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A field of data that is created based on values of other fields
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
64
The Find ____ Query Wizard is used to find records in one table that do not have related records in another table.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
65
Discuss the use of the * wildcard character in query criteria.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
66
When a query is saved, it saves VBA statements. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
67
Queries evaluate sort orders from left to right. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
68
You can view the SQL code for any query by switching to Code View. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
69
In Query Design View, you can drag the edge of a(n) field list to resize it. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
70
Explain the relationship between the Like operator and the wildcard character using an example that describes how to create criteria for all values in a CompanyName field that start with the letter J.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
71
Match each of the following with the correct definition or statement.
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
An asterisk or question mark used in a query
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
An asterisk or question mark used in a query
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
72
The > operator means less than in a query. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
73
In SQL, the FROM keyword determines how records are sorted. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
74
Match each of the following with the correct definition or statement.
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A statistic such as a subtotal or count is determined on a given field in a group of records
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A statistic such as a subtotal or count is determined on a given field in a group of records
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
75
When you are saving a query, you are saving a set of instructions written in Standard Query Language. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
76
Syntax are tests, or limiting conditions, that must be true for a record to be selected for a datasheet in a query. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
77

You want to add the PaymentDate field from the Payments table in the query shown in the accompanying figure. Describe how you can do this.
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
78
Match each of the following with the correct definition or statement.
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A datasheet's records are placed in a determined order
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A datasheet's records are placed in a determined order
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
79
SQL statements start with the FROM keyword. _________________________
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck
80
Match each of the following with the correct definition or statement.
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A combination of field names, operators and functions
a.Calculated field
d.Aggregate function
b.Expression
e.Sort
c.Function
f.Wildcard character
A combination of field names, operators and functions
Unlock Deck
Unlock for access to all 84 flashcards in this deck.
Unlock Deck
k this deck