Microsoft Access Querying a Database Using the Select Query Window.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
-
Upload
godfrey-hunt -
Category
Documents
-
view
215 -
download
0
Transcript of ® Microsoft Office 2013 Access Maintaining and Querying a Database.
![Page 1: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/1.jpg)
®
Microsoft Office 2013
Access
Maintaining and Querying a Database
![Page 2: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/2.jpg)
XPXPXPObjective:• Find, modify, and delete records in a table• Learn how to use the Query window in Design view• Create, run, and save queries• Update data using a query datasheet• Create a query based on multiple tables• Sort data in a query• Filter data in a query
2
![Page 3: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/3.jpg)
XPXPXPObjective:• Specify an exact match condition in a query• Change the font size and alternate row color in a
datasheet• Use a comparison operator in a query to match a
range of values• Use the And and Or logical operators in queries• Create and format a calculated field in a query• Perform calculations in a query using aggregate
functions and record group calculations• Change the display of database objects in the
Navigation Pane
3
![Page 4: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/4.jpg)
XPXPXPQuery Window in Design View
4
![Page 5: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/5.jpg)
XPXPXPFinding Data in a Table• The Find command allows you to search a table or
query datasheet, or a form, to locate a specific field value or part of a field value
5
![Page 6: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/6.jpg)
XPXPXPDeleting a Record
6
![Page 7: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/7.jpg)
XPXPXPIntroduction to Queries• Click the Create tab on the Ribbon• In the Other group on the Create tab, click the Query
Design button
7
![Page 8: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/8.jpg)
XPXPXPIntroduction to Queries
8
![Page 9: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/9.jpg)
XPXPXPCreating a Multitable Query• A multitable query is a query based on more than one
table• If you want to create a query that retrieves data from
multiple tables, the tables must have a common field
9
![Page 10: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/10.jpg)
XPXPXPSorting Data in a Query• Sorting is the process of rearranging records in a
specified order or sequence• To sort records, you must select the sort field, which
is the field used to determine the order of records in the datasheet
10
![Page 11: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/11.jpg)
XPXPXPUsing an AutoFilter to Sort Data• The AutoFilter feature enables you to quickly sort
and display field values in various ways• Clicking the arrow in a column heading displays the
AutoFilter menu
11
![Page 12: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/12.jpg)
XPXPXPSorting a Query Datasheet
12
![Page 13: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/13.jpg)
XPXPXPSpecifying an Exact Match• With an exact match, the value in the specified field
must match the condition exactly in order for the record to be included in the query results
13
![Page 14: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/14.jpg)
XPXPXPChanging a Datasheet’s Appearance
14
![Page 15: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/15.jpg)
XPXPXPUsing a Comparison Operator to Match a Range of Values
15
![Page 16: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/16.jpg)
XPXPXPUsing Aggregate Functions• Aggregate functions perform arithmetic operations
on selected records in a database• If you want to quickly perform a calculation using an
aggregate function in a table or query datasheet, you can use the Totals button in the Records group on the Home tab
16
![Page 17: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/17.jpg)
XPXPXPUsing Aggregate Functions
17
![Page 18: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/18.jpg)
XPXPXPCreating Queries with Aggregate Functions• Aggregate functions operate on the records
that meet a query’s selection criteria
18
![Page 19: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/19.jpg)
XPXPXPUsing Record Group Calculations• The Group By operator divides the selected records
into groups based on the values in the specified field
19
![Page 20: ® Microsoft Office 2013 Access Maintaining and Querying a Database.](https://reader035.fdocuments.us/reader035/viewer/2022062517/56649f1c5503460f94c32b2c/html5/thumbnails/20.jpg)
XPXPXPWorking with the Navigation Pane• The Navigation Pane is the main area for working
with the objects in a database• The Navigation Pane divides database objects into
categories, and each category contains groups– Object Type– All Access Objects
20