Chapter#4: Querying a Database Flashcards

1
Q

What is a Select Query?

A

allows you to select records based upon certain criteria that you set.

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

What are two ways to create a query?

A

Query Wizard and

Query Design

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

What does Query Design View allow you to do?

A

Select fields from multiple tables.

Set criteria to locate records based on data contained in one or more fields.

Calculate totals.

Show or hide fields containing criteria that are in the query results datasheet.

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

What are some ways of adding fields to the query grid?

A
  1. Double-click a field name to add the field to the next available column of the query design grid.
  2. Drag a field to the next column in the grid.
  3. Click the Field row of a column in the query grid and select the field from the drop-down list.
  4. Double-click the asterisk (*) that appears at the top of the field list to add all fields to the grid.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you rearrange query columns?

A

in Design View or Datasheet View by dragging and dropping them into position

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

What are the two most frequent wildcards?

A

asterisk and question mark

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

What do you select when you build a query?

A

you select only those tables and fields that you want to display in the query

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

What happens when you run a query?

A

Access lists only those records containing data that meet the criteria

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

in what views can you filter and sort records?

A

Table Design, Form Design and to a limit Report Design View

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

whats the best way to sort and filter data?

A

Through a query

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

When it comes to Wildcard Symbols, What is an Asterisk?

A

Substitutes for a group of characters that appear at the position of the asterisk

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

When it comes to Wildcard Symbols, What is a Question Mark?

A

Substitutes for a single character that might appear at the position of the question mark

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

When it comes to Wildcard Symbols, What is a Open/Close Bracket?

A

Matches text or individual characters placed within the brackets individually

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

When it comes to Wildcard Symbols, What is a Exclamation Point?

A

Matches any character within the brackets except those characters that follow the !

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

When it comes to Wildcard Symbols, What is a Hypen?

A

Matches characters at the wildcard position that fall within a range of ascending values

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

When it comes to Wildcard Symbols, What is a number sign?

A

Locates any numeric digit at the position of the #

17
Q

What are the two basic criteria conditions that can be applied?

A

AND/OR

18
Q

Define the “And” Operator

A

Use to select records that meet all criteria set in all query grid fields

19
Q

Define the “Or” Operator

A

Use to select records meeting one condition or another condition whether the criteria are set for the same field or different fields

20
Q

Whats the first Sort Field identified as?

A

The primary sort field

21
Q

Whats the next sort field after the first sort field?

A

The Secondary Sort field

22
Q

What is a calculated field?

A

includes a field and expression elements.

23
Q

What is calculated field name?

A

The unique name you assign to the field, followed by a colon (:) to separate the field name from the expression

24
Q

What is field names for existing tables?

A

The field containing the data used in the calculation. Access will add brackets [ ] around field names

25
Q

What is Arithmetic or comparison operators

A

+, -, *, /, ( ), ^, to perform mathematical operations or compare values

26
Q

What is Concatenation?

A

Combining fields and expressions by using the ampersand (&) to join text values from multiple fields

27
Q

What is the Return Feature?

A

Enables you to set the number of records to be displayed or returned

28
Q

in which way does Access do mathematical operations?

A

from Left to Right

29
Q

What does PEMDAS mean?

A

Please Excuse My Dear Aunt Sally

30
Q

What does Aggregate Functions do?

A

They are designed to summarize Data

31
Q

What can Crosstab Queries use?

A

use both tables and queries as the basis of the query.

32
Q

What is Find Unmatched Query?

A

Locates records in one table that have no related records in another table

33
Q

What is Duplicates Query?

A

Locates records containing duplicate field values in a single table or query