1 Access Lesson 3 Creating Queries. 2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data.

Slides:



Advertisements
Similar presentations
Databases Section 4: Select Queries Presented By: Lindani Ncube Based on Materials by: M Halse.
Advertisements

1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Computer Concepts BASICS 4th Edition
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Access Lesson 2 Creating a Database
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.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Querying a Database Using the Select Query Window
Querying a Database Microsoft Office Access 2003.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2010 Introductory Pasewark & Pasewark.
Create Forms Lesson 5. Software Orientation Creating Forms A form is a database object –enter, edit, or display data from a table or query Providing.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Maintaining and Querying a Database Microsoft Access 2010.
Microsoft Access – Tutorial 3
1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2010 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.
Microsoft Access 2010 Building and Using Queries.
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.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Filtering Data A filter is a set of restrictions you place on the records of an open datasheet or form to temporarily isolate a subset of the records.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
Unit 5, Lesson 2 Editing Records and Using Forms.
1 After completing this lesson, you will be able to: Change the format of a table. Sort records in a table. Find records in a table Use filters with a.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics Covered Understanding different types of Queries Creating a Query Creating a Query using a Wizard Changing.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
There are seven main components of a database in Access 2000: Tables. Use tables to store database information. Forms Use forms to enter or edit the information.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Access Forms and Queries. Entering Data in Your Table  You can add data to your table in Datasheet view, by typing in the columns and rows.  This.
ACCESS Part 2. OBJECTIVE  Use the Query Wizard.  Work with data in a query.  Use Query Design View.  Sort and find data.  Filter data Apply AND criteria.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1 After completing this lesson, you will be able to: Create and run a query. Specify criteria in a query. Create a calculated field. Create a multiple-table.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
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.
MODULE 7 Microsoft Access 2010 Chapter 1: Working with Databases Chapter 2: Using Forms and Tables Chapter 3: Working with Queries and Reports 1© Paradigm.
D ATABASE O BJECTS Putting the Objects to Work. Database Objects When creating a database, you are creating a database that will store objects. Database.
1 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
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.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2007 Fundamentals Story / Walls.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Create FormsCreate Forms Lesson 5 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Access Microsoft Access 2013.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Reports. Reports display information retrieved from a database in an attractive printed format. Reports can be created directly from tables, but More.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2010 Fundamentals Story / Walls.
Access Lesson 5 Creating and Modifying Reports
Access Maintaining and Querying a Database
Microsoft Access 2013 Bobby Wan.
Lesson 23 Managing and Reporting Database Information
Access Tutorial 3 Maintaining and Querying a Database
Plug-In T7: Problem Solving Using Access 2007
Find and Replace Used to quickly find and/or replace data quickly
Tutorial 1 – Introduction To Microsoft Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Assignment 3 Querying and Maintaining a Database
Presentation transcript:

1 Access Lesson 3 Creating Queries

2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data it contains. The result of a query is a datasheet that includes the records you asked to see. condition (also called a criterion)--way of telling the query which data you want to see When the condition has two or more parts, such as customers who have ordered a specific part and live in a certain zip code, the two conditions are called criteria.

3 Creating a Query with the Simple Query Wizard (continued) A query is based on a table(s). Simple Query Wizard--asks you what data you want to see by letting you select options in dialog boxes detail query-- shows every field in each record summary query--summarizes relevant data; such as adding the field values in a column that stores price data

4

5 Sorting Data When you view field values in ascending or descending order from A to Z or from smallest to largest, you apply a sort to the field. Home>Sort & Filter

6 Filtering Data Filter-- temporarily displays records in a datasheet based on a condition Filter By Selection--select a field value>click Home>Sort &Filter>Selection button Filter By Form--display records that contain one or more values AutoFilter-- menu that opens when you click the arrow on the right side of a field selector

7 Creating a Query in Design View table datasheet--using a sort or a filter is only way to change what data is displayed query datasheet—more options if you create a query in Design view You can select a sort order for a field by setting the sort order in the field’s Sort box in the design grid.

8 Creating a Query in Design View Adding a Condition to a Field: If the question is “Which orders contain an order for Product ID 1701?” then you need to add a condition to the query design before you run it. To add a condition to a field, click in the field’s Criteria box, and then type the condition.

Running a Query: Query Tools>Design tab>Results group>Run button 9

10 Using Operators in a Condition If a query selects records for products that are out of stock, this is called an exact match condition because the records must contain the value 0 in the Units In Stock field to be displayed in the query datasheet. The And operator selects records that match all of two or more conditions in a query The Or operator selects records that match at least one of two or more conditions in a query.

11