access queries. queries let you see the data you want with select queries you can: query more...

10
Access Queries

Upload: emory-randall

Post on 14-Jan-2016

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Access Queries

Page 2: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Queries

Let you see the data you want With Select queries you can:

Query more than one tableCreate new calculated fieldsSummarize and group dataChoose which fields to show or hide

Page 3: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Queries (cont’d)

Make-TableUpdateAppendDelete

CrosstabPass-ThroughData-DefinitionUnion

Other types:

“Action”

Advanced (SQL specific)

Page 4: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Query Wizards

Simple Crosstab Find Duplicates Find Unmatched

Page 5: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Simple Query Wizard (one table)

Let’s set up a simple query Want all Contacts from Little Rock Want just Last Name and First Name Want to sort by Last Name

Page 6: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Simple Query Wizard (two tables)

Want to total donations by person Want Last Name and First Name from Contacts Want Amount Donated from Donations Either “Summary” or “Every Record” “Every Record” can be totaled later in a Report

Page 7: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Query Wizards (cont’d)

Let’s set up a Find Unmatched query that involves two tables

Want all Contacts who have not donated money

Page 8: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize

Advanced Queries

Queries can get quite complex Action queries = be careful!

Back up your data firstCheck your results carefully

Use the wizard to start, then modify

Page 9: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize
Page 10: Access Queries. Queries  Let you see the data you want  With Select queries you can:  Query more than one table  Create new calculated fields  Summarize