SlideShare una empresa de Scribd logo
1 de 81
Succeeding in Business with Microsoft Access 2013
Analyzing Data For Effective
Decision Making
Succeeding in Business with Microsoft Access 2013
Chapter Introduction
• Filter data in a Microsoft Office Access 2013
database
– Retrieve and examine only the records you need
– Sort data to rearrange records in a specified order
• Create complex queries
• Explore advanced queries
• Explore queries written in Structured Query
Language
2
Succeeding in Business with Microsoft Access 2013
Tools Covered In This Chapter
• Action queries (update, append, delete, crosstab,
and make-table)
• Aggregate functions (Avg, Max, Min, Sum)
• Calculated field
• Comparison and logical operators
• Crosstab query
• Filter by Form and Filter by Selection
• Find duplicates query
• Find unmatched records query
3
Succeeding in Business with Microsoft Access 2013
Tools Covered In This Chapter (cont’d.)
• Immediate IF (IIF) function
• Parameter query
• Design View
• Select query
• Simple Query Wizard
• SQL commands
• Top Values query
• Wildcard character
4
Succeeding in Business with Microsoft Access 2013
Level 1 Objectives: Organizing and Retrieving
Information from a Database
• Filter and sort data to make it more
meaningful
• Create simple queries to answer business
questions
• Develop queries using comparison criteria and
wildcards
• Verify and print query results
5
Succeeding in Business with Microsoft Access 2013
Filtering and Sorting Data
• Filter
– Restricts data in single table to create temporary
subset of records
– See only certain records in table based on
specified criteria
• Sorting records
– Organizing in particular order or sequence
– Sort records regardless of whether table filtered
6
Succeeding in Business with Microsoft Access 2013
Filtering by Selection
• Tools
– Filter by Selection
• Select particular field in datasheet
• Display only data that matches contents of field
• Specify only one criterion for filter
– Filter by Form
7
Succeeding in Business with Microsoft Access 2013 8
Succeeding in Business with Microsoft Access 2013
Filtering by Form
• Specify two or more criteria
• Filter for comparative data
– Use comparison operators
• AND criteria
– Selects records that contain all specified values
• OR criteria
– Selects records that contain any of specified
values
9
Succeeding in Business with Microsoft Access 2013
Sorting Data to Increase Information Content
• Lets you view the information in a variety of ways
• Access sorts records based on primary key values
– Use sorting to change order
• To sort
– Select sort field
• Sort on multiple fields
– Move fields in Datasheet view so that they are
adjacent
10
Succeeding in Business with Microsoft Access 2013
Sorting Data To Increase Information Content
(cont’d.)
• How Access sorts different types of data
11
Succeeding in Business with Microsoft Access 2013
Filtering Using the Filter Arrow
12
Succeeding in Business with Microsoft Access 2013
Using Queries to Answer
Business Questions
• Query
– Database object
– Stores criteria for selecting records from one or
more tables based
– Save query
• Use it again
– More powerful than filter
• Display only some fields in table
• Create fields that perform calculations
13
Succeeding in Business with Microsoft Access 2013
Using Queries to Answer
Business Questions (cont’d.)
• Capabilities of Access queries:
– Display selected fields and records from table
– Sort records on one or multiple fields
– Perform calculations
– Generate data for forms, reports, and other queries
– Update data in database
– Find and display data from two or more tables
– Create new tables
– Delete records in table based on one or more criteria
14
Succeeding in Business with Microsoft Access 2013
Using Queries to Answer
Business Questions (cont’d.)
• Select query
– Ask question based on one or more tables in
database
– Result displayed in datasheet
• Called recordset
15
Succeeding in Business with Microsoft Access 2013
Using the Simple Query Wizard
to Create a Query
• Simple query wizard
– Presents list of tables and queries in database
• And fields that they contain
– Select fields from one or more tables
– Wizard creates and displays results
16
Succeeding in Business with Microsoft Access 2013
Including Summary Statistics in a Query for
Data Analysis
• Summary query
– Groups records
– Calculate sum, average, minimum, or maximum
value in each selected field
– Count records in table or query
• Click Summary Options button
17
Succeeding in Business with Microsoft Access 2013 18
Figure 3.7: Creating a summary query with the Simple Query Wizard
Succeeding in Business with Microsoft Access 2013
Creating a Query in Design View
• Select Query window in Design view has two
sections
– Area for field lists at top of window
– Design grid below it
• Add tables for query to top part of window
– Appear as field lists
• Query by example (QBE)
– Typing search value as a criterion
19
Succeeding in Business with Microsoft Access 2013 20
Succeeding in Business with Microsoft Access 2013
Creating Queries with
Multiple Criteria
• Most queries involve more than one criterion
• Represent AND criteria
– Enter conditions in same criteria row in query
design grid
• Specify OR criteria
– Use “or” row of query design grid
21
Succeeding in Business with Microsoft Access 2013 22
Figure 3.10: Setting criteria for the query in Design view
Succeeding in Business with Microsoft Access 2013
Specifying Sort Order in Queries
• Query results appear in same order as data
from underlying tables
– Unless specify sort order when designing query
• Sort order determined from left to right
23
Succeeding in Business with Microsoft Access 2013
Running a Query
• Click Run button in the Results group
– Access displays datasheet of records
• Save query
– Save only design
– Not values from tables displayed in results
24
Succeeding in Business with Microsoft Access 2013
Enhancing Query Criteria to Improve Data
Analysis
• Expand criteria by using
– Wildcards
– Comparison operators
25
Succeeding in Business with Microsoft Access 2013
Using Wildcards for Inexact
Query Matches
• Wildcard character
– Placeholder
– Stands for one or more characters
• Comment fields
– Use same keywords throughout comments
– Easily retrieve records later
– Use wildcards when specifying keyword as a query
criterion
• To select records that contain characters before and after
keyword
26
Succeeding in Business with Microsoft Access 2013 27
Succeeding in Business with Microsoft Access 2013
Using Wildcards for Inexact Query Matches
(cont’d.)
• Access inserts
– Word “LIKE” for criteria with wildcards quotation
marks around text
• LIKE “*Spanish*”
– Pound signs around dates
• #12/*/2013#
28
Succeeding in Business with Microsoft Access 2013
Using Comparison Operators to Refine Query
Criteria
• Comparison operators
– Compare value in field with range of values in
criterion
• Clear the design grid to create or modify a
query
– Start with same field list but blank grid
29
Succeeding in Business with Microsoft Access 2013 30
Succeeding in Business with Microsoft Access 2013
Verifying and Printing
Query Results
• Verify query results before
– Distributing query to others
– Using it as basis for decisions
• Use business knowledge
– Determine whether results adequately answer
question
• Print query datasheet
31
Succeeding in Business with Microsoft Access 2013
Modifying Query Datasheets
• Improve appearance of query or table
datasheet
• Resize column widths in any datasheet
– Double-click line between field names to resize
columns to best fit
32
Succeeding in Business with Microsoft Access 2013 33
Succeeding in Business with Microsoft Access 2013
Level 1 Summary
• Use filtering and sorting to change data
display
• Develop queries using
– Simple query wizard
– Design view
• Use comparison operators and wildcards to
make queries more flexible
• Verify query results using business knowledge
34
Succeeding in Business with Microsoft Access 2013
Level 2 Objectives:
Creating More Complex Queries
• Design queries that compare data from more
than one table
• Refine table relationships by specifying the
join type
• Perform calculations in queries
• Customize queries and their results
35
Succeeding in Business with Microsoft Access 2013 36
Succeeding in Business with Microsoft Access 2013
Using Queries to Find Duplicate Records
• Duplicates Query Wizard
– Searches for duplicate values in fields
– Improves business operations
– Designed to identify records that contain same
information in particular field
37
Succeeding in Business with Microsoft Access 2013
Using Queries to Find Unmatched Records
• Find Unmatched Query Wizard
– Compares records in two specified tables or
recordsets
– Finds all records in one table or query that have
no related records in second table or query
– Requires that two tables being compared have
common field
38
Succeeding in Business with Microsoft Access 2013
Limiting the Records in the Query Results
• Limiting results to only a few records often
aids analysis
• Top and Bottom Values
– Set a sort order for the field
– Descending to display the records with the highest
values
– Ascending to display the records with the smallest
values
39
Succeeding in Business with Microsoft Access 2013 40
Succeeding in Business with Microsoft Access 2013
Using Parameter Values in Queries
• Parameter values
– Phrase usually in form of a question or instruction
– Enclosed in square brackets
– Serves as prompt to user to enter value
– Example
• [Enter a job ID:]
41
Succeeding in Business with Microsoft Access 2013 42
Succeeding in Business with Microsoft Access 2013
Analyzing Data from More than One Table
• Data from more than one table required to
answer question
– Combine records from two or more tables
– Display only information needed
• Work in Design View to specify criteria for
selecting records from multiple tables
• Lines between tables link primary key to foreign
key field
– Primary key designated with 1
– Foreign key designated with ∞
43
Succeeding in Business with Microsoft Access 2013
Analyzing Data from More than One Table
(cont’d.)
• Join tables
– Linking of tables using primary and foreign keys
– Established relationship
– Or
• Each table shares field with same or compatible data type
• One join field primary key
• If tables do not include fields that can be joined
– Add one or more extra tables or queries
– Link tables that contain the data
44
Succeeding in Business with Microsoft Access 2013
Analyzing Data from More than One Table
(cont’d.)
• Use queries as source of underlying data for
another query in place of one or more tables
• Create queries based on more than one object
– Should not use any table or query that does not
have common field with at least one of the other
tables or queries
– Otherwise Access displays every combination of
records between two tables
45
Succeeding in Business with Microsoft Access 2013
Refining Relationships with Appropriate Join
Types
• Inner join
– Displays all records in one table that have
corresponding values in common field in another
table
– Records must match before being displayed in
query results
• Outer join
– Displays all records of one table
• Regardless of whether corresponding record is stored in
related table
46
Succeeding in Business with Microsoft Access 2013 47
Figure 3.34: Inner join
Succeeding in Business with Microsoft Access 2013 48
Succeeding in Business with Microsoft Access 2013 49
Figure 3.36: Right outer join
Succeeding in Business with Microsoft Access 2013
Refining Relationships with Appropriate Join
Types (cont’d.)
• Outer join types
– Left
– Right
• Use Join Properties dialog box
– To change join type
– By default, tables are related using inner joins
– Options for outer joins
50
Succeeding in Business with Microsoft Access 2013
Using Logical Operators
to Specify Multiple Conditions
• Logical operators
– Test values that can only be true or false
• Place conditions in separate fields in same
criteria row of design grid
– All conditions in row must be met to select record
• NOT logical operator
– Excludes values that don’t meet criterion
51
Succeeding in Business with Microsoft Access 2013 52
Succeeding in Business with Microsoft Access 2013
Performing Calculations with Queries
• Any information derived from fields in table or
query should be calculated in query
– Rather than included as data in table
• Calculation types
– Predefined
• Compute amounts for groups of records or for all records
combined in query
– Custom
• Perform numeric date and text computations on each record
• Using data from one or more fields
53
Succeeding in Business with Microsoft Access 2013
Calculating Statistical Information
• Aggregate functions
– Mathematic and statistical operations
– Apply to records that meet query’s selection
criteria
54
Succeeding in Business with Microsoft Access 2013 55
Succeeding in Business with Microsoft Access 2013 56
Figure 3.43: Using aggregate functions in a query
Succeeding in Business with Microsoft Access 2013
Creating Calculated Fields in a Query
• Expression
– Arithmetic formula for calculation
– Use standard arithmetic operators
– Use parenthesis for complex expressions
• Calculated field
– Add to query design grid
– Type expression
• Expression Builder
– Build complex expressions
57
Succeeding in Business with Microsoft Access 2013
Creating Calculated Fields in a Query (cont’d.)
• Function
– Performs standard calculation
– Returns value
• Date()
– Provides today’s date
• Field properties
– Change format and number of decimal places for
calculated field
58
Succeeding in Business with Microsoft Access 2013 59
Succeeding in Business with Microsoft Access 2013
Concatenating in Queries
• Concatenation
– Combining contents of two or more fields
– Operator
• &
– Example
• Name [EmpFirst]& " " & [EmpLast]
60
Succeeding in Business with Microsoft Access 2013
Level 2 Summary
• Use queries to select from more than one table
• Join types
– Inner
– Right outer
– Left outer
• Calculated field types
– Predefined
– Custom
61
Succeeding in Business with Microsoft Access 2013
Level 3 Objectives: Exploring Advanced
Queries and Queries Written in Structured
Query Language
• Calculate and restructure data to improve
analysis
• Examine and create advanced types of queries
• Make decisions in a query using the
immediate IF (IIF) function
• Develop queries using SQL
62
Succeeding in Business with Microsoft Access 2013
Analyzing Query Calculations
• More advanced queries
– Crosstab query
• Most useful for preparing data for further analysis
– Action queries
• Change or move many records in one operation
– Four types of action queries:
• Append, update, delete, and make-table
63
Succeeding in Business with Microsoft Access 2013
Analyzing Query Calculations (cont’d.)
• Crosstab queries
– Special type of totals query
– Perform aggregate function calculations on values
of one database field
– Determine exactly how summary data appears in
results
– Calculate and restructure data
• Analyze it more easily
– Work especially well with time-series data
64
Succeeding in Business with Microsoft Access 2013
Creating a Crosstab Query
• To create:
– Use Design View
• Start with select query that includes numeric values or
summary calculations
– Use the Crosstab Query Wizard
• Guides you through the steps
• Shows samples of how the crosstab results will look
65
Succeeding in Business with Microsoft Access 2013 66
Succeeding in Business with Microsoft Access 2013
Modifying Data Using Queries
• Action queries
– Modify data in table
– Add records to or delete records from table
– Create new table
• Backup data before using action query
67
Succeeding in Business with Microsoft Access 2013 68
Succeeding in Business with Microsoft Access 2013 69
Succeeding in Business with Microsoft Access 2013
Archiving Data with Make-table Queries
• Make-table query
– Creates table from some or all of the fields and
records in existing table or query
– Access does not delete selected fields and records
from existing table
70
Succeeding in Business with Microsoft Access 2013
Adding Records to Tables with Append Queries
• Append query
– Select records from one or more tables by setting
criteria
– Add those records to end of another table
– Selected records also remain in original tables
– Table to which records added must already exist
– Can bring data from another source into database
71
Succeeding in Business with Microsoft Access 2013
Removing Records from Tables with Delete Queries
• Delete query
– Removes information from table
– Based on specified criteria
– All records meeting criteria permanently removed
• Create select query first
– Convert to delete query
• Cascading deletes
72
Succeeding in Business with Microsoft Access 2013
Updating Data with an Update Query
• Update query
– Changes values of data in one or more existing
tables
– Create select query first
• Change type to update query
73
Succeeding in Business with Microsoft Access 2013
Making Decisions in Queries
• IF statement
– Tests condition
– Takes one action if condition true
– Takes another action if condition false
• IIF function
– Make IF decision
– Format
• IIF(condition to test, what to do if true, what to do if
false)
74
Succeeding in Business with Microsoft Access 2013
Customizing Queries Using Structured Query
Language
• Access designed as database management
system (DBMS) for:
– Small businesses
– Or departments within large businesses
• Structured query language
– Common query language of most DBMSs
– Use to query/update/manage relational databases
• Create query in Design View
– Access translates entries and criteria into SQL
statements
75
Succeeding in Business with Microsoft Access 2013
Customizing Queries Using Structured
Query Language (cont’d.)
• View statements by switching from Design
view to SQL view
• SELECT statement defines:
– What data query should retrieve from database
– How it should present data
76
Succeeding in Business with Microsoft Access 2013
Exploring the Components
of an SQL Query
• Keywords
– Use to construct SQL statements
• Most developers place each statement on
separate line
– To make SQL code easy to read
77
Succeeding in Business with Microsoft Access 2013 78
Succeeding in Business with Microsoft Access 2013
Creating a Union Query Using SQL
• Union query
– Combine, or unite, the results from two or more
select queries
79
Succeeding in Business with Microsoft Access 2013
Level 3 Summary
• Crosstab and Action queries
• IFF function
• SQL
– Use SQL view to edit SQL directly
80
Succeeding in Business with Microsoft Access 2013
Chapter Summary
• Queries retrieve data from one or more tables
– Action queries update data
– Perform calculations
– Make decisions using IIF function
• SQL
– Used to interact with relational databases
– Use SQL view to view/edit SQL statements
generated by Access
81

Más contenido relacionado

La actualidad más candente

Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
D
 
Ch01 Access
Ch01 AccessCh01 Access
Ch01 Access
D
 
Ch06 Access
Ch06 AccessCh06 Access
Ch06 Access
D
 
Ch03 Access
Ch03 AccessCh03 Access
Ch03 Access
D
 
Access 2013 Unit A
Access 2013 Unit AAccess 2013 Unit A
Access 2013 Unit A
jarana00
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit B
jarana00
 
AX 2012: All About Lookups!
AX 2012: All About Lookups!AX 2012: All About Lookups!
AX 2012: All About Lookups!
MAnasKhan
 
What is bip_v2
What is bip_v2What is bip_v2
What is bip_v2
kanaugust
 
Dynamics ax 2012 development overview
Dynamics ax 2012 development overviewDynamics ax 2012 development overview
Dynamics ax 2012 development overview
Ali Raza Zaidi
 
Access 2010 Unit A PPT
Access 2010 Unit A PPTAccess 2010 Unit A PPT
Access 2010 Unit A PPT
okmomwalking
 
Access lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying FormsAccess lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying Forms
Aram SE
 

La actualidad más candente (20)

Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
 
Ch01 Access
Ch01 AccessCh01 Access
Ch01 Access
 
Ch06 Access
Ch06 AccessCh06 Access
Ch06 Access
 
Ch03 Access
Ch03 AccessCh03 Access
Ch03 Access
 
Access 2013 Unit A
Access 2013 Unit AAccess 2013 Unit A
Access 2013 Unit A
 
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit B
 
Ax Presentation
Ax PresentationAx Presentation
Ax Presentation
 
AX 2012: All About Lookups!
AX 2012: All About Lookups!AX 2012: All About Lookups!
AX 2012: All About Lookups!
 
Budget entries import in Dynamics AX 2012
Budget entries import in Dynamics AX 2012Budget entries import in Dynamics AX 2012
Budget entries import in Dynamics AX 2012
 
What is bip_v2
What is bip_v2What is bip_v2
What is bip_v2
 
Data Warehouse approaches with Dynamics AX
Data Warehouse  approaches with Dynamics AXData Warehouse  approaches with Dynamics AX
Data Warehouse approaches with Dynamics AX
 
Dynamics ax 2012 development overview
Dynamics ax 2012 development overviewDynamics ax 2012 development overview
Dynamics ax 2012 development overview
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumps
 
Access 2010 Unit A PPT
Access 2010 Unit A PPTAccess 2010 Unit A PPT
Access 2010 Unit A PPT
 
Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3
 
Bi requirements checklist
Bi requirements checklistBi requirements checklist
Bi requirements checklist
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
 
Erp microsoft dynamic ppt
Erp microsoft dynamic pptErp microsoft dynamic ppt
Erp microsoft dynamic ppt
 
Access lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying FormsAccess lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying Forms
 

Similar a Ch03 cmpt110

Access 2010 Unit B PPT
Access 2010 Unit B PPTAccess 2010 Unit B PPT
Access 2010 Unit B PPT
okmomwalking
 
Designing high performance datawarehouse
Designing high performance datawarehouseDesigning high performance datawarehouse
Designing high performance datawarehouse
Uday Kothari
 
5 ways to improve performance through indexing
5 ways to improve performance through indexing5 ways to improve performance through indexing
5 ways to improve performance through indexing
Jason Strate
 
Access 2013 Unit D
Access 2013 Unit DAccess 2013 Unit D
Access 2013 Unit D
jarana00
 
L22 analyzing data using smart view
L22 analyzing data using smart viewL22 analyzing data using smart view
L22 analyzing data using smart view
Naresh Kumar SAHU
 

Similar a Ch03 cmpt110 (20)

Access 2010 Unit B PPT
Access 2010 Unit B PPTAccess 2010 Unit B PPT
Access 2010 Unit B PPT
 
Statistics and Indexes Internals
Statistics and Indexes InternalsStatistics and Indexes Internals
Statistics and Indexes Internals
 
9544349.ppt
9544349.ppt9544349.ppt
9544349.ppt
 
DWaltherGraniteStateUG 2023.pptx
DWaltherGraniteStateUG 2023.pptxDWaltherGraniteStateUG 2023.pptx
DWaltherGraniteStateUG 2023.pptx
 
Designing high performance datawarehouse
Designing high performance datawarehouseDesigning high performance datawarehouse
Designing high performance datawarehouse
 
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau -  Data, Graphs, Filters, Dashboards and Advanced featuresLearning Tableau -  Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
 
Elevate Insight with Microsoft CRM 2011 Dashboards
Elevate Insight with Microsoft CRM 2011 DashboardsElevate Insight with Microsoft CRM 2011 Dashboards
Elevate Insight with Microsoft CRM 2011 Dashboards
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training framework
 
5 ways to improve performance through indexing
5 ways to improve performance through indexing5 ways to improve performance through indexing
5 ways to improve performance through indexing
 
PowerBI Training
PowerBI Training PowerBI Training
PowerBI Training
 
Access 2013 Unit D
Access 2013 Unit DAccess 2013 Unit D
Access 2013 Unit D
 
Data Discovery With Power Query in excel
Data Discovery With Power Query in excelData Discovery With Power Query in excel
Data Discovery With Power Query in excel
 
DataDiscoveryWithPowerQuery.pptx
DataDiscoveryWithPowerQuery.pptxDataDiscoveryWithPowerQuery.pptx
DataDiscoveryWithPowerQuery.pptx
 
Getting Started Using ACL in Your Next Audit
Getting Started Using ACL in Your Next AuditGetting Started Using ACL in Your Next Audit
Getting Started Using ACL in Your Next Audit
 
L22 analyzing data using smart view
L22 analyzing data using smart viewL22 analyzing data using smart view
L22 analyzing data using smart view
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
 
Group 1 Report CRISP - DM METHODOLOGY.pptx
Group 1 Report CRISP - DM METHODOLOGY.pptxGroup 1 Report CRISP - DM METHODOLOGY.pptx
Group 1 Report CRISP - DM METHODOLOGY.pptx
 
Salesforce Analytics Cloud - Explained
Salesforce Analytics Cloud - ExplainedSalesforce Analytics Cloud - Explained
Salesforce Analytics Cloud - Explained
 
Tableau.pdf
Tableau.pdfTableau.pdf
Tableau.pdf
 
Understanding the Lifecycle of a Data Analysis Project
Understanding the Lifecycle of a Data Analysis ProjectUnderstanding the Lifecycle of a Data Analysis Project
Understanding the Lifecycle of a Data Analysis Project
 

Último

一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
txkonu
 
一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理
一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理
一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理
ss
 
如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一
如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一
如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一
avy6anjnd
 
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Nitya salvi
 
Van Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson todayVan Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson today
lucygibson17
 
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
delhimunirka15
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
mvxpw22gfc
 

Último (20)

Headshots and Personal Branding by Julie King Photography
Headshots and Personal Branding by Julie King PhotographyHeadshots and Personal Branding by Julie King Photography
Headshots and Personal Branding by Julie King Photography
 
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
Call Girls Sultanpur Just Call 📞 8617370543 Top Class Call Girl Service Avail...
 
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Aligarh Just Call 8617370543 Top Class Call Girl Service Available
 
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
一比一原版(YU学位证书)约克大学毕业证学历认证新版办理
 
一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理
一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理
一比一原版(UEA毕业证书)东英吉利亚大学毕业证如何办理
 
如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一
如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一
如何办理澳洲迪肯大学毕业证(Deakin毕业证书)毕业证成绩单原版一比一
 
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
Russian Call Girls Pilibhit Just Call 👉👉 📞 8617370543 Top Class Call Girl Ser...
 
Van Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson todayVan Gogh Powerpoint for art lesson today
Van Gogh Powerpoint for art lesson today
 
Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Firozabad Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Top Rated Lucknow Escorts Service, ₹5000 Best Hot Call Girls With Room +91-82...
Top Rated Lucknow Escorts Service, ₹5000 Best Hot Call Girls With Room +91-82...Top Rated Lucknow Escorts Service, ₹5000 Best Hot Call Girls With Room +91-82...
Top Rated Lucknow Escorts Service, ₹5000 Best Hot Call Girls With Room +91-82...
 
Storyboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to SingStoryboard short: Ferrarius Tries to Sing
Storyboard short: Ferrarius Tries to Sing
 
Just Call Vip call girls Farrukhabad Escorts ☎️8617370543 Two shot with one g...
Just Call Vip call girls Farrukhabad Escorts ☎️8617370543 Two shot with one g...Just Call Vip call girls Farrukhabad Escorts ☎️8617370543 Two shot with one g...
Just Call Vip call girls Farrukhabad Escorts ☎️8617370543 Two shot with one g...
 
Jaro je tady - Spring is here (Judith) 2
Jaro je tady - Spring is here (Judith) 2Jaro je tady - Spring is here (Judith) 2
Jaro je tady - Spring is here (Judith) 2
 
SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)
SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)
SB_ Scott Pilgrim_ Rough_ RiverPhan (2024)
 
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
Azad Nagar Call Girls ,☎️ ((#9711106444)), 💘 Full enjoy Low rate girl💘 Genuin...
 
Jaunpur Escorts Service Girl ^ 9332606886, WhatsApp Anytime Jaunpur
Jaunpur Escorts Service Girl ^ 9332606886, WhatsApp Anytime JaunpurJaunpur Escorts Service Girl ^ 9332606886, WhatsApp Anytime Jaunpur
Jaunpur Escorts Service Girl ^ 9332606886, WhatsApp Anytime Jaunpur
 
Digital C-Type Printing: Revolutionizing The Future Of Photographic Prints
Digital C-Type Printing: Revolutionizing The Future Of Photographic PrintsDigital C-Type Printing: Revolutionizing The Future Of Photographic Prints
Digital C-Type Printing: Revolutionizing The Future Of Photographic Prints
 
Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4Jaro je tady - Spring is here (Judith) 4
Jaro je tady - Spring is here (Judith) 4
 
Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..Museum of fine arts Lauren Simpson…………..
Museum of fine arts Lauren Simpson…………..
 
HUMA Final Presentation About Chicano Culture
HUMA Final Presentation About Chicano CultureHUMA Final Presentation About Chicano Culture
HUMA Final Presentation About Chicano Culture
 

Ch03 cmpt110

  • 1. Succeeding in Business with Microsoft Access 2013 Analyzing Data For Effective Decision Making
  • 2. Succeeding in Business with Microsoft Access 2013 Chapter Introduction • Filter data in a Microsoft Office Access 2013 database – Retrieve and examine only the records you need – Sort data to rearrange records in a specified order • Create complex queries • Explore advanced queries • Explore queries written in Structured Query Language 2
  • 3. Succeeding in Business with Microsoft Access 2013 Tools Covered In This Chapter • Action queries (update, append, delete, crosstab, and make-table) • Aggregate functions (Avg, Max, Min, Sum) • Calculated field • Comparison and logical operators • Crosstab query • Filter by Form and Filter by Selection • Find duplicates query • Find unmatched records query 3
  • 4. Succeeding in Business with Microsoft Access 2013 Tools Covered In This Chapter (cont’d.) • Immediate IF (IIF) function • Parameter query • Design View • Select query • Simple Query Wizard • SQL commands • Top Values query • Wildcard character 4
  • 5. Succeeding in Business with Microsoft Access 2013 Level 1 Objectives: Organizing and Retrieving Information from a Database • Filter and sort data to make it more meaningful • Create simple queries to answer business questions • Develop queries using comparison criteria and wildcards • Verify and print query results 5
  • 6. Succeeding in Business with Microsoft Access 2013 Filtering and Sorting Data • Filter – Restricts data in single table to create temporary subset of records – See only certain records in table based on specified criteria • Sorting records – Organizing in particular order or sequence – Sort records regardless of whether table filtered 6
  • 7. Succeeding in Business with Microsoft Access 2013 Filtering by Selection • Tools – Filter by Selection • Select particular field in datasheet • Display only data that matches contents of field • Specify only one criterion for filter – Filter by Form 7
  • 8. Succeeding in Business with Microsoft Access 2013 8
  • 9. Succeeding in Business with Microsoft Access 2013 Filtering by Form • Specify two or more criteria • Filter for comparative data – Use comparison operators • AND criteria – Selects records that contain all specified values • OR criteria – Selects records that contain any of specified values 9
  • 10. Succeeding in Business with Microsoft Access 2013 Sorting Data to Increase Information Content • Lets you view the information in a variety of ways • Access sorts records based on primary key values – Use sorting to change order • To sort – Select sort field • Sort on multiple fields – Move fields in Datasheet view so that they are adjacent 10
  • 11. Succeeding in Business with Microsoft Access 2013 Sorting Data To Increase Information Content (cont’d.) • How Access sorts different types of data 11
  • 12. Succeeding in Business with Microsoft Access 2013 Filtering Using the Filter Arrow 12
  • 13. Succeeding in Business with Microsoft Access 2013 Using Queries to Answer Business Questions • Query – Database object – Stores criteria for selecting records from one or more tables based – Save query • Use it again – More powerful than filter • Display only some fields in table • Create fields that perform calculations 13
  • 14. Succeeding in Business with Microsoft Access 2013 Using Queries to Answer Business Questions (cont’d.) • Capabilities of Access queries: – Display selected fields and records from table – Sort records on one or multiple fields – Perform calculations – Generate data for forms, reports, and other queries – Update data in database – Find and display data from two or more tables – Create new tables – Delete records in table based on one or more criteria 14
  • 15. Succeeding in Business with Microsoft Access 2013 Using Queries to Answer Business Questions (cont’d.) • Select query – Ask question based on one or more tables in database – Result displayed in datasheet • Called recordset 15
  • 16. Succeeding in Business with Microsoft Access 2013 Using the Simple Query Wizard to Create a Query • Simple query wizard – Presents list of tables and queries in database • And fields that they contain – Select fields from one or more tables – Wizard creates and displays results 16
  • 17. Succeeding in Business with Microsoft Access 2013 Including Summary Statistics in a Query for Data Analysis • Summary query – Groups records – Calculate sum, average, minimum, or maximum value in each selected field – Count records in table or query • Click Summary Options button 17
  • 18. Succeeding in Business with Microsoft Access 2013 18 Figure 3.7: Creating a summary query with the Simple Query Wizard
  • 19. Succeeding in Business with Microsoft Access 2013 Creating a Query in Design View • Select Query window in Design view has two sections – Area for field lists at top of window – Design grid below it • Add tables for query to top part of window – Appear as field lists • Query by example (QBE) – Typing search value as a criterion 19
  • 20. Succeeding in Business with Microsoft Access 2013 20
  • 21. Succeeding in Business with Microsoft Access 2013 Creating Queries with Multiple Criteria • Most queries involve more than one criterion • Represent AND criteria – Enter conditions in same criteria row in query design grid • Specify OR criteria – Use “or” row of query design grid 21
  • 22. Succeeding in Business with Microsoft Access 2013 22 Figure 3.10: Setting criteria for the query in Design view
  • 23. Succeeding in Business with Microsoft Access 2013 Specifying Sort Order in Queries • Query results appear in same order as data from underlying tables – Unless specify sort order when designing query • Sort order determined from left to right 23
  • 24. Succeeding in Business with Microsoft Access 2013 Running a Query • Click Run button in the Results group – Access displays datasheet of records • Save query – Save only design – Not values from tables displayed in results 24
  • 25. Succeeding in Business with Microsoft Access 2013 Enhancing Query Criteria to Improve Data Analysis • Expand criteria by using – Wildcards – Comparison operators 25
  • 26. Succeeding in Business with Microsoft Access 2013 Using Wildcards for Inexact Query Matches • Wildcard character – Placeholder – Stands for one or more characters • Comment fields – Use same keywords throughout comments – Easily retrieve records later – Use wildcards when specifying keyword as a query criterion • To select records that contain characters before and after keyword 26
  • 27. Succeeding in Business with Microsoft Access 2013 27
  • 28. Succeeding in Business with Microsoft Access 2013 Using Wildcards for Inexact Query Matches (cont’d.) • Access inserts – Word “LIKE” for criteria with wildcards quotation marks around text • LIKE “*Spanish*” – Pound signs around dates • #12/*/2013# 28
  • 29. Succeeding in Business with Microsoft Access 2013 Using Comparison Operators to Refine Query Criteria • Comparison operators – Compare value in field with range of values in criterion • Clear the design grid to create or modify a query – Start with same field list but blank grid 29
  • 30. Succeeding in Business with Microsoft Access 2013 30
  • 31. Succeeding in Business with Microsoft Access 2013 Verifying and Printing Query Results • Verify query results before – Distributing query to others – Using it as basis for decisions • Use business knowledge – Determine whether results adequately answer question • Print query datasheet 31
  • 32. Succeeding in Business with Microsoft Access 2013 Modifying Query Datasheets • Improve appearance of query or table datasheet • Resize column widths in any datasheet – Double-click line between field names to resize columns to best fit 32
  • 33. Succeeding in Business with Microsoft Access 2013 33
  • 34. Succeeding in Business with Microsoft Access 2013 Level 1 Summary • Use filtering and sorting to change data display • Develop queries using – Simple query wizard – Design view • Use comparison operators and wildcards to make queries more flexible • Verify query results using business knowledge 34
  • 35. Succeeding in Business with Microsoft Access 2013 Level 2 Objectives: Creating More Complex Queries • Design queries that compare data from more than one table • Refine table relationships by specifying the join type • Perform calculations in queries • Customize queries and their results 35
  • 36. Succeeding in Business with Microsoft Access 2013 36
  • 37. Succeeding in Business with Microsoft Access 2013 Using Queries to Find Duplicate Records • Duplicates Query Wizard – Searches for duplicate values in fields – Improves business operations – Designed to identify records that contain same information in particular field 37
  • 38. Succeeding in Business with Microsoft Access 2013 Using Queries to Find Unmatched Records • Find Unmatched Query Wizard – Compares records in two specified tables or recordsets – Finds all records in one table or query that have no related records in second table or query – Requires that two tables being compared have common field 38
  • 39. Succeeding in Business with Microsoft Access 2013 Limiting the Records in the Query Results • Limiting results to only a few records often aids analysis • Top and Bottom Values – Set a sort order for the field – Descending to display the records with the highest values – Ascending to display the records with the smallest values 39
  • 40. Succeeding in Business with Microsoft Access 2013 40
  • 41. Succeeding in Business with Microsoft Access 2013 Using Parameter Values in Queries • Parameter values – Phrase usually in form of a question or instruction – Enclosed in square brackets – Serves as prompt to user to enter value – Example • [Enter a job ID:] 41
  • 42. Succeeding in Business with Microsoft Access 2013 42
  • 43. Succeeding in Business with Microsoft Access 2013 Analyzing Data from More than One Table • Data from more than one table required to answer question – Combine records from two or more tables – Display only information needed • Work in Design View to specify criteria for selecting records from multiple tables • Lines between tables link primary key to foreign key field – Primary key designated with 1 – Foreign key designated with ∞ 43
  • 44. Succeeding in Business with Microsoft Access 2013 Analyzing Data from More than One Table (cont’d.) • Join tables – Linking of tables using primary and foreign keys – Established relationship – Or • Each table shares field with same or compatible data type • One join field primary key • If tables do not include fields that can be joined – Add one or more extra tables or queries – Link tables that contain the data 44
  • 45. Succeeding in Business with Microsoft Access 2013 Analyzing Data from More than One Table (cont’d.) • Use queries as source of underlying data for another query in place of one or more tables • Create queries based on more than one object – Should not use any table or query that does not have common field with at least one of the other tables or queries – Otherwise Access displays every combination of records between two tables 45
  • 46. Succeeding in Business with Microsoft Access 2013 Refining Relationships with Appropriate Join Types • Inner join – Displays all records in one table that have corresponding values in common field in another table – Records must match before being displayed in query results • Outer join – Displays all records of one table • Regardless of whether corresponding record is stored in related table 46
  • 47. Succeeding in Business with Microsoft Access 2013 47 Figure 3.34: Inner join
  • 48. Succeeding in Business with Microsoft Access 2013 48
  • 49. Succeeding in Business with Microsoft Access 2013 49 Figure 3.36: Right outer join
  • 50. Succeeding in Business with Microsoft Access 2013 Refining Relationships with Appropriate Join Types (cont’d.) • Outer join types – Left – Right • Use Join Properties dialog box – To change join type – By default, tables are related using inner joins – Options for outer joins 50
  • 51. Succeeding in Business with Microsoft Access 2013 Using Logical Operators to Specify Multiple Conditions • Logical operators – Test values that can only be true or false • Place conditions in separate fields in same criteria row of design grid – All conditions in row must be met to select record • NOT logical operator – Excludes values that don’t meet criterion 51
  • 52. Succeeding in Business with Microsoft Access 2013 52
  • 53. Succeeding in Business with Microsoft Access 2013 Performing Calculations with Queries • Any information derived from fields in table or query should be calculated in query – Rather than included as data in table • Calculation types – Predefined • Compute amounts for groups of records or for all records combined in query – Custom • Perform numeric date and text computations on each record • Using data from one or more fields 53
  • 54. Succeeding in Business with Microsoft Access 2013 Calculating Statistical Information • Aggregate functions – Mathematic and statistical operations – Apply to records that meet query’s selection criteria 54
  • 55. Succeeding in Business with Microsoft Access 2013 55
  • 56. Succeeding in Business with Microsoft Access 2013 56 Figure 3.43: Using aggregate functions in a query
  • 57. Succeeding in Business with Microsoft Access 2013 Creating Calculated Fields in a Query • Expression – Arithmetic formula for calculation – Use standard arithmetic operators – Use parenthesis for complex expressions • Calculated field – Add to query design grid – Type expression • Expression Builder – Build complex expressions 57
  • 58. Succeeding in Business with Microsoft Access 2013 Creating Calculated Fields in a Query (cont’d.) • Function – Performs standard calculation – Returns value • Date() – Provides today’s date • Field properties – Change format and number of decimal places for calculated field 58
  • 59. Succeeding in Business with Microsoft Access 2013 59
  • 60. Succeeding in Business with Microsoft Access 2013 Concatenating in Queries • Concatenation – Combining contents of two or more fields – Operator • & – Example • Name [EmpFirst]& " " & [EmpLast] 60
  • 61. Succeeding in Business with Microsoft Access 2013 Level 2 Summary • Use queries to select from more than one table • Join types – Inner – Right outer – Left outer • Calculated field types – Predefined – Custom 61
  • 62. Succeeding in Business with Microsoft Access 2013 Level 3 Objectives: Exploring Advanced Queries and Queries Written in Structured Query Language • Calculate and restructure data to improve analysis • Examine and create advanced types of queries • Make decisions in a query using the immediate IF (IIF) function • Develop queries using SQL 62
  • 63. Succeeding in Business with Microsoft Access 2013 Analyzing Query Calculations • More advanced queries – Crosstab query • Most useful for preparing data for further analysis – Action queries • Change or move many records in one operation – Four types of action queries: • Append, update, delete, and make-table 63
  • 64. Succeeding in Business with Microsoft Access 2013 Analyzing Query Calculations (cont’d.) • Crosstab queries – Special type of totals query – Perform aggregate function calculations on values of one database field – Determine exactly how summary data appears in results – Calculate and restructure data • Analyze it more easily – Work especially well with time-series data 64
  • 65. Succeeding in Business with Microsoft Access 2013 Creating a Crosstab Query • To create: – Use Design View • Start with select query that includes numeric values or summary calculations – Use the Crosstab Query Wizard • Guides you through the steps • Shows samples of how the crosstab results will look 65
  • 66. Succeeding in Business with Microsoft Access 2013 66
  • 67. Succeeding in Business with Microsoft Access 2013 Modifying Data Using Queries • Action queries – Modify data in table – Add records to or delete records from table – Create new table • Backup data before using action query 67
  • 68. Succeeding in Business with Microsoft Access 2013 68
  • 69. Succeeding in Business with Microsoft Access 2013 69
  • 70. Succeeding in Business with Microsoft Access 2013 Archiving Data with Make-table Queries • Make-table query – Creates table from some or all of the fields and records in existing table or query – Access does not delete selected fields and records from existing table 70
  • 71. Succeeding in Business with Microsoft Access 2013 Adding Records to Tables with Append Queries • Append query – Select records from one or more tables by setting criteria – Add those records to end of another table – Selected records also remain in original tables – Table to which records added must already exist – Can bring data from another source into database 71
  • 72. Succeeding in Business with Microsoft Access 2013 Removing Records from Tables with Delete Queries • Delete query – Removes information from table – Based on specified criteria – All records meeting criteria permanently removed • Create select query first – Convert to delete query • Cascading deletes 72
  • 73. Succeeding in Business with Microsoft Access 2013 Updating Data with an Update Query • Update query – Changes values of data in one or more existing tables – Create select query first • Change type to update query 73
  • 74. Succeeding in Business with Microsoft Access 2013 Making Decisions in Queries • IF statement – Tests condition – Takes one action if condition true – Takes another action if condition false • IIF function – Make IF decision – Format • IIF(condition to test, what to do if true, what to do if false) 74
  • 75. Succeeding in Business with Microsoft Access 2013 Customizing Queries Using Structured Query Language • Access designed as database management system (DBMS) for: – Small businesses – Or departments within large businesses • Structured query language – Common query language of most DBMSs – Use to query/update/manage relational databases • Create query in Design View – Access translates entries and criteria into SQL statements 75
  • 76. Succeeding in Business with Microsoft Access 2013 Customizing Queries Using Structured Query Language (cont’d.) • View statements by switching from Design view to SQL view • SELECT statement defines: – What data query should retrieve from database – How it should present data 76
  • 77. Succeeding in Business with Microsoft Access 2013 Exploring the Components of an SQL Query • Keywords – Use to construct SQL statements • Most developers place each statement on separate line – To make SQL code easy to read 77
  • 78. Succeeding in Business with Microsoft Access 2013 78
  • 79. Succeeding in Business with Microsoft Access 2013 Creating a Union Query Using SQL • Union query – Combine, or unite, the results from two or more select queries 79
  • 80. Succeeding in Business with Microsoft Access 2013 Level 3 Summary • Crosstab and Action queries • IFF function • SQL – Use SQL view to edit SQL directly 80
  • 81. Succeeding in Business with Microsoft Access 2013 Chapter Summary • Queries retrieve data from one or more tables – Action queries update data – Perform calculations – Make decisions using IIF function • SQL – Used to interact with relational databases – Use SQL view to view/edit SQL statements generated by Access 81