XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.

Slides:



Advertisements
Similar presentations
Microsoft ® Access ® 2010 Training Create queries for a new database.
Advertisements

Microsoft® Office Access® 2007 Training
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
© 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 10 – Designing.
Access Lesson 2 Creating a Database
Exploring Microsoft Excel 2002 Chapter 7 Chapter 7 List and Data Management: Converting Data to Information By Robert T. Grauer Maryann Barber Exploring.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Query-By-Example (QBE) 2440: 180 Database Concepts.
Access Tutorial 3 Maintaining and Querying a Database
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
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
Querying a Database Microsoft Office Access 2003.
Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Chapter 2 Querying a Database
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Build a database IV: Create queries for a new Access database Overview: Ask your data — create queries It’s time to create queries, one of the most powerful.
Access Tutorial 3 Maintaining and Querying a Database
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Access 2010 © 2011 The McGraw-Hill Companies,
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Maintaining and Querying a Database Microsoft Access 2010.
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
DAY 16: ACCESS CHAPTER 2 Tazin Afrin October 10,
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-1 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left,
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 1Advanced Tables, Relationships, Queries, and Forms Chapter 3Advanced Query Techniques.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
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.
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
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 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
Examining data using Microsoft Access Queries Using Criteria and Calculations SESSION 3.2 This section covers specifying an exact match condition in a.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
 Agenda 2/20/13 o Review quiz, answer questions o Review database design exercises from 2/13 o Create relationships through “Lookup tables” o Discuss.
Part II. Query Types On the design query table pane, right click and the cascading window will appear.
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
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 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Creating Select Queries Chapter 6 Microsoft Office Access 2003.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Access Queries Agenda 6/16/14 Review Access Project Part 1, answer questions Discuss queries: Turning data stored in a database into information for decision.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Creating Advanced Queries and Enhancing Table Design.
Microsoft Office Access 2010 Lab 3
Exploring Excel Chapter 5 List and Data Management: Converting Data to
MS Access: Creating Advanced Queries
Objectives Query for top values Create a parameter query
Objectives Create an action query to create a table
Microsoft Access 2003 Illustrated Complete
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Lesson 3 Chapter 10.
Tutorial 5 Advanced Queries and Enhanced Table Design
New Perspectives on Microsoft
Presentation transcript:

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter 3 “The human problems which I deal with every day—concerning employees as well as customers—are the problems that fascinate me, that seem important to me.” —Hortense Odlum

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 2 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

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 3 Evaluating Data Using Special Types of Queries

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 4 Using Queries to Find Duplicate Records Duplicates Query Wizard  Searches for duplicate values in fields  Improve business operations  Designed to identify records that contain same information in particular field

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 5 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

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 6 Limiting the Records in the Query Results Limiting results to only a few records often aids analysis Top Values query  Sorts and then filters records  Display specified number of records that contain top or bottom values  Top Values list box on query design toolbar

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 7 Top Values Query Design and Results

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 8 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]

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 9 Parameter Query to Allow User Input when the Query Is Run

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 10 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 ∞

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 11 Analyzing Data from More than One Table (continued) 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

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 12 Analyzing Data from More than One Table (continued) 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

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 13 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  Display all records of one table  Regardless of whether corresponding record stored in related table

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 14 Inner Join

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 15 Left Outer Join

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 16 Right Outer Join

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 17 Refining Relationships with Appropriate Join Types (continued) Outer join types  Left  Right Use join properties dialog box  To change join type  By default tables related using inner joins

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 18 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

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 19 Logical Operators

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 20 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 Performs numeric date and text computations on each record Using data from one or more fields

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 21 Calculating Statistical Information Aggregate functions  Arithmetic and statistical operations  Apply to records that meet query’s selection criteria

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 22 Aggregate Functions

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 23 Using Aggregate Functions in a Query

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 24 Creating Calculated Fields in a Query Expression  Arithmetic formula used to make calculation  Use standard arithmetic operators  Use parenthesis for complex expressions Calculated field  Add to query design grid  Type expression Expression builder  Build complex expressions

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 25 Creating Calculated Fields in a Query (continued) Function  Perform standard calculation  Return value Date()  Provides today’s date Field properties  Change format and number of decimal places for calculated field

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 26 Field Properties

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 27 Concatenating in Queries Concatenation  Combining contents of two or more fields  Operator &  Example Name [EmpFirst]& " " & [EmpLast]

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 28 Level 2 Summary Use queries to select data from more than one table Join types  Inner  Right outer  Left outer Calculated field types  Predefined  Custom