Microsoft Office 2007 - Illustrated Creating Multiple Table Queries.

Slides:



Advertisements
Similar presentations
Advanced Piloting Cruise Plot.
Advertisements

Chapter 1 The Study of Body Function Image PowerPoint
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel PivotTable List Feature Creating a PivotTable List Web Page Using Excel.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
ABC Technology Project
Excel Lesson 11 Improving Data Accuracy
Working with Tables 1 of 5. Working with Tables 2 of 5.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Microsoft Access.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
VOORBLAD.
Benchmark Series Microsoft Excel 2013 Level 2
Chapter 5 Microsoft Excel 2007 Window
Microsoft Office Illustrated Analyzing Table Data.
Microsoft Office Illustrated Building and Using Queries.
Chapter 5 Test Review Sections 5-1 through 5-4.
25 seconds left…...
We will resume in: 25 Minutes.
Excel Lesson 12 Creating PivotTables and PivotCharts Microsoft Office 2010 Advanced Cable / Morrison 1.
Intracellular Compartments and Transport
Excel Lesson 15 Working with Auditing and Analysis Tools Microsoft Office 2010 Advanced Cable / Morrison 1.
PSSA Preparation.
Essential Cell Biology
Computer Concepts BASICS 4th Edition
Excel Lesson 13 Using Powerful Excel Functions Microsoft Office 2010 Advanced Cable / Morrison 1.
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 8Integrating Access Data.
Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Chapter 2 Querying a Database
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Building and Using Queries. Objectives Use the Query WizardUse the Query Wizard Work with data in a queryWork with data in a query Use Query Design ViewUse.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
Microsoft Access Illustrated Unit B: Building and Using Queries.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Reports and Queries Chapter 3 – Access text Reports – Page Queries – Page
Microsoft Office 2010 for Medical Professionals - Illustrated Access 2010 Unit B: Building and Using Queries.
Microsoft Access 2000 Presentation 5 Creating Databases Part IV (Creating Queries)
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Lesson 4: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Set query.
Creating Advanced Queries and Enhancing Table Design.
Improving Queries. Objectives Create multitable queriesCreate multitable queries Apply sorts and view SQLApply sorts and view SQL Develop AND criteriaDevelop.
Microsoft Office Access 2010 Lab 3
Microsoft Office Illustrated Introductory, Windows Vista Edition
MS Access: Creating Advanced Queries
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Microsoft Office Illustrated Introductory, Windows XP Edition
Tutorial 5 Advanced Queries and Enhanced Table Design
New Perspectives on Microsoft
Presentation transcript:

Microsoft Office Illustrated Creating Multiple Table Queries

Objectives Build select queriesBuild select queries Use multiple sort ordersUse multiple sort orders Develop AND criteriaDevelop AND criteria Develop OR criteriaDevelop OR criteria(continued) 2Microsoft Office 2007-Illustrated

Objectives (continued) Create calculated fieldsCreate calculated fields Build summary queriesBuild summary queries Build crosstab queriesBuild crosstab queries Build PivotTables and PivotChartsBuild PivotTables and PivotCharts 3Microsoft Office 2007-Illustrated

Building Select Queries Methods: Simple Query WizardSimple Query Wizard Query Design ViewQuery Design View 4Microsoft Office 2007-Illustrated

Query Design View 5Microsoft Office 2007-Illustrated One-to-many join lines Field lists Query grid identifies fields in query

Using Multiple Sort Orders Sort orders are evaluated in a left-to- right orderSort orders are evaluated in a left-to- right order Use the Show check box to sort on a field but not show it in the query datasheetUse the Show check box to sort on a field but not show it in the query datasheet 6Microsoft Office 2007-Illustrated

Specifying Sort Orders 7Microsoft Office 2007-Illustrated Primary sort order Secondary sort order

Developing AND Criteria AND criteria are entered on the same row of the query gridAND criteria are entered on the same row of the query grid AND criteria must both be true for the record to display in the datasheetAND criteria must both be true for the record to display in the datasheet AND criteria further limit the number of records in the datasheetAND criteria further limit the number of records in the datasheet Comparison operators or wildcard characters may be used in criteriaComparison operators or wildcard characters may be used in criteria 8Microsoft Office 2007-Illustrated

Developing AND Criteria 9Microsoft Office 2007-Illustrated AND criteria entered on the same row

Common Comparison Operators 10 Microsoft Office 2007-Illustrated

Developing OR Criteria OR criteria are entered on different rows of the query gridOR criteria are entered on different rows of the query grid OR criteria may either be true for the record to display in the datasheetOR criteria may either be true for the record to display in the datasheet OR criteria further expand the number of records in the datasheetOR criteria further expand the number of records in the datasheet Comparison operators or wildcard characters may be used in criteriaComparison operators or wildcard characters may be used in criteria 11Microsoft Office 2007-Illustrated

Developing OR Criteria 12 Microsoft Office 2007-Illustrated Enter OR criteria on different rows

Criteria Wildcards An asterisk (*) searches for any number of charactersAn asterisk (*) searches for any number of characters A question mark (?) searches for any single characterA question mark (?) searches for any single character A pound sign (#) searches for any single numberA pound sign (#) searches for any single number 13 Microsoft Office 2007-Illustrated

Using Wildcard Characters 14Microsoft Office 2007-Illustrated Using a wildcard character in query criteria. Like “7/*/2010” finds all dates in July of 2010.

Creating Calculated Fields Create a calculated field in the field cell of the query gridCreate a calculated field in the field cell of the query grid Calculated fields follow this patternCalculated fields follow this patternNewFieldName:expression Expressions may include field names, operators, and functions such as SumExpressions may include field names, operators, and functions such as Sum Surround field names in [square brackets]Surround field names in [square brackets] Example: LeadTime:[TourStartDate]- [SaleDate]Example: LeadTime:[TourStartDate]- [SaleDate] 15 Microsoft Office 2007-Illustrated

Creating Calculated Fields 16Microsoft Office 2007-Illustrated Lead Time is the new calculated field name [TourStartDate] -[SaleDate] is the expression A colon (:) separates the field name from the expression

Arithmetic Operators 17Microsoft Office 2007-Illustrated

Common Functions 18Microsoft Office 2007-Illustrated

Building Summary Queries A summary query calculates statistics about a group of recordsA summary query calculates statistics about a group of records Use the Total row in the query grid to specify how records are grouped and summarizedUse the Total row in the query grid to specify how records are grouped and summarized The datasheet of summary queries cannot be updated because each row represents several recordsThe datasheet of summary queries cannot be updated because each row represents several records 19 Microsoft Office 2007-Illustrated

Summary Query Design View 20Microsoft Office 2007-Illustrated Totals button Category is the grouping field Total row is added to query grid SalesNo values are counted Cost values summed

Building Crosstab Queries Crosstab queries calculate statistics about a group of records using both a row and a column headingCrosstab queries calculate statistics about a group of records using both a row and a column heading Use the Crosstab Query Wizard to create a crosstab queryUse the Crosstab Query Wizard to create a crosstab query Use the Total and Crosstab rows in the query grid to specify the crosstab settingsUse the Total and Crosstab rows in the query grid to specify the crosstab settings 21Microsoft Office 2007-Illustrated

Building Crosstab Queries 22Microsoft Office 2007-Illustrated Cost values summed by TourName and Category Row Headings (values from Category field) Column Headings (values from TourName field

Other Query Wizards 23Microsoft Office 2007-Illustrated Find Duplicates Query Wizard finds whether a table contains duplicate values in one or more fieldsFind Duplicates Query Wizard finds whether a table contains duplicate values in one or more fields Find Unmatched Query Wizard finds records in one table that do not have related records in another tableFind Unmatched Query Wizard finds records in one table that do not have related records in another table

Building PivotTables and PivotCharts Use the PivotTable or PivotChart View of any existing table, query, or formUse the PivotTable or PivotChart View of any existing table, query, or form Changes made to either the PivotTable or PivotChart view are automatically applied to the otherChanges made to either the PivotTable or PivotChart view are automatically applied to the other 24Microsoft Office 2007-Illustrated

Building PivotCharts 25Microsoft Office 2007-Illustrated Drag fields from the field list to the field locations on the PivotChart

Building PivotTables 26Microsoft Office 2007-Illustrated State field moved from PivotTable and filtered to display only Kansas records City field provides column values FirstContact is in the row heading area Count of Lname for each FirstContact and City

Comparing PivotTables, PivotCharts, and Crosstab Queries 27Microsoft Office 2007-Illustrated

Summary Select queries are the most common type of querySelect queries are the most common type of query Use select queries to:Use select queries to: Select a subset of fields and recordsSelect a subset of fields and records Sort dataSort data Create calculated fieldsCreate calculated fields Use Summary, Crosstab, PivotTable, and PivotCharts to show summarized informationUse Summary, Crosstab, PivotTable, and PivotCharts to show summarized information 28Microsoft Office 2007-Illustrated