A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Access 2010 © 2011 The McGraw-Hill Companies,

Slides:



Advertisements
Similar presentations
© 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.
Advertisements

With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Access Tutorial 3 Maintaining and 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
1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Exploring Formulas.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
DAY 16: ACCESS CHAPTER 2 Tazin Afrin October 10,
Lesson 4 Cell Reference Formulas. Working with Cell References continued… Relative Cell Reference A relative cell reference means that the cell value.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
Microsoft Access Intro Class 5 Working with Queries.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Report Design.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
CSS/417 Introduction to Database Management Systems Workshop 2.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
The Advantage Series ©2004 The McGraw-Hill Companies, Inc. All rights reserved Chapter 8 Managing Worksheet Lists Microsoft Office Excel 2003.
© 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.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 5 Creating Custom Forms.
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.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 2 Modifying a Table and Creating.
Unit 4, Lesson 4 Using Function Formulas. Objectives Understand function formulas. Understand function formulas. Use the Average and Sum functions. Use.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Performing Calculations—1 of 2 In addition to using queries to retrieve, update, sort, and filter data in a database, you can use a query to perform calculations.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Chapter 3 Query and Report. Agenda Report types Report contents Report creation Report design view Query and dynaset Function and grouping Action query.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 11 Committed to Shaping the Next Generation of IT Experts. Chapter 3: Customize, Analyze,
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 3: Customize, Analyze,
What are queries? Queries are a way of searching for and compiling data from one or more tables. Running a query is like asking a detailed question of.
1 Chapter 3: Customize, Analyze, and Summarize Query Data Exploring Microsoft Office Access 2007.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
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.
© 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 8 – Adding and.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Creating Select Queries Chapter 6 Microsoft Office Access 2003.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next Generation of IT Experts. Chapter 3: Customize, Analyze,
Microsoft Access 2000 Presentation 5 Creating Databases Part IV (Creating Queries)
Microsoft Access 2000 Modifying Tables, Creating Forms and Viewing Data.
Querying Databases A query is a program that allows us to VIEW the data or operate on the data Several types of queries –Select query –Merge query –Summary.
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.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 11 Chapter 3: Customize, Analyze, and Summarize Query Data Exploring Microsoft Office.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
Tutorial 3 – Querying a Database
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access: Queries II Participation Project
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Microsoft Office Illustrated Introductory, Windows XP Edition
Chapter 3 Query and Report.
Presentation transcript:

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Access 2010 © 2011 The McGraw-Hill Companies, Inc. All rights reserved.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Create and modify select queries 1 Add criteria and operators to queries 2 Apply logical operators 3 Modify query properties 4 Add calculations to queries 5 Create queries with wizards 6 2

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 3

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-1 Figure 6-1 4

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-1 Figure 6-2 & 3 5

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-2 Figure 6-4 6

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise You can add fields to the design grid of a query by any of the three following ways: Double-click the field name in the Field List. Drag the field from the Field List to a Field row in the design grid. Click the Field row in the design grid and select a field name from the drop-down list.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-3 Figure 6-5 8

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-4 Figure 6-6 9

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 10

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise An operator is a word or symbol that indicates a specific arithmetic or logical relationship between the elements of an expression. Operators are used to create conditions. Operators can include arithmetic operators, such as the plus sign (+); comparison operators, such as the equals sign (=); logical operators, such as the word “And”; concatenation operators, such as & and +; and special operators, such as “Like,” “Between,” or “In.”

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise In addition to operators, a condition can include one or more functions. A function is a procedure used in an expression. Most functions include multiple arguments. An argument is a reference in a function assigned as a single variable. Some functions such as “Date” do not require arguments. Other functions such as “DateDiff” contain both required arguments and optional arguments.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. TypeDefinitionExamples Arithmetic operator A word or symbol that calculates a value from two or more numbers. +, −, *, /, \, ^ Comparison operator A symbol or combination of symbols that specifies a comparison between two values. A comparison operator is also referred to as a relational operator. =, <>,, >= Logical operator A symbol, word, group of symbols, or group of words used to construct an expression with multiple conditions. And, Or, Eqv, Not, Xor Concatenation operator A symbol, word, group of symbols, or group of words used to combine two text values into a single text value. &, + Special operators Like, Between, In, True, False 13 Table 2-1 Exercise 2-8

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-5 Figure

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise Queries often use comparison operators to evaluate data. Comparison operators allow you to evaluate numbers, text, and dates. For example, the expression “>10/17/11” would display all records with a date after October 17, The expression “>=10/17/11” would display all records with a date on or after October 17, When comparing text, fields are evaluated alphabetically. The expression <“smith” would display all records that appear in a dictionary before the word “smith”.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. OperatorMeaning = Equal <> Not equal < Less than <= Less than or equal to > Greater than >= Greater than or equal to 16 Table 6-2 Exercise 6-6

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-6 Figure

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-7 Figure

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Exercise 6-7 Figure

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 20 Figure 6-12 Exercise 6-8

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 21

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 22 Figure 6-13 Exercise 6-9 When an AND condition is placed on a single field, the keyword AND must be placed between the two conditions. When an AND condition is placed on multiple fields, the keyword is not entered. When more than one field contains a condition on the same Criteria row, then an AND condition is created automatically by Access.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 23 Figure 6-13 to 15 Exercise 6-8

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 24

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 25 Figure 6-18 Exercise 6-11

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 26 Exercise 6-12 Just as a table can display a related table as a subdatasheet, a query can also contain a subdatasheet. A subdatasheet is created by defining a Subdatasheet Name as a query property. The sheets must be linked by a common field. You will now modify qryMgtContacts by linking the ManageID field between the tables management and facilities.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 27

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 28 Exercise 6-13 An aggregate function is a sum, average, maximum, minimum, or count for a group of records. A calculated field is a field that uses an expression or formula as its data source.

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. ComponentDescription Expression box White area at the top of the window that shows the formula as you build it. (Also called the preview area.) Expression Elements List of elements available to build an expression. Expression Categories Subset of the elements found in the Expression Elements panel. Expression Values Subset of the categories found in the Expression Categories panel. 29 Table 6-4 Exercise 6-13

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 30 Figure 6-19 Exercise 6-13

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 31 Figure 6-20 Exercise 6-13

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 32 Figure 6-22 & 23 Exercise 6-15

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 33

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 34 Figure 6-24 Exercise 6-16

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 35 Figure 6-25 Exercise 6-16

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 36 Figure 6-27 Exercise 6-18

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 37 Figure 6-27 Exercise 6-18

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 38 Figure 6-28 Exercise 6-19

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 39

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 40 Figure 6-28 Exercise 6-19

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 41 Figure 6-30 Exercise 6-21

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 42 Figure 6-31 Exercise 6-21

a lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Access 2010 © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 43