Query – One of the objects in Microsoft Access – It can help users extract data, which meets the criteria defined by them, from a database file. – It must.

Slides:



Advertisements
Similar presentations
Database Management Systems and Enterprise Software
Advertisements

Databases. A database program can be used to:  sort a file into a different order  Maintain contact with clients  search through the records for a.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
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.
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.
With Microsoft ® Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Querying a Database Using the Select Query Window
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
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.
MS Access: Database Concepts Instructor: Vicki Weidler.
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.
DAY 16: ACCESS CHAPTER 2 Tazin Afrin October 10,
Database Management Systems. This lesson includes the following sections  Databases and Management Systems Working with a Database Enterprise Software.
Microsoft Office Illustrated Fundamentals Unit L: Creating Database Reports.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries.
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.
Database Queries. Queries Queries are questions used to retrieve information from a database. Contain criteria to specify the records and fields to be.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
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.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Querying a Database - A question or an inquiry (dictionary.com) - WHAT ARE WE ASKING QUESTIONS ABOUT? THE DATA - BY ASKING QUESTIONS OF THE DATA WE OBTAIN?
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 2 Workshop 3 Queries and Data Access Series Editor Amy Kinser by.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 3 Analyzing Tables and Creating.
Reports and Queries Chapter 3 – Access text Reports – Page Queries – Page
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 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.
Databases.  A database is simply a collection of information stored in an orderly manner.  A database can be as simple as a birthday book, address book.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Microsoft Access Database Creation and Management.
Chapter 9 Vocabulary Databases. 1.Table – a collection of information, or data arranged in columns and rows. 2.Record – all of the information about one.
Databases Competency Explain advanced database concepts and functions.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
10.1Retrieving a Database File – In the last chapter, we have created a database file and several tables for that database. – In order to view and modify.
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.
Microsoft Access By Ritesh Sharma. Introduction Microsoft Access is a desktop database program that enables you to enter, store, analyze,and present data.For.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2010 Fundamentals Story / Walls.
Microsoft Office Access 2010 Lab 3
Microsoft Office Illustrated Introductory, Windows Vista Edition
MS Access: Creating Advanced Queries
Microsoft Office Illustrated Fundamentals
Access Maintaining and Querying a Database
Microsoft Access 2003 Illustrated Complete
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Lesson 3 Chapter 10.
Microsoft Office Illustrated Introductory, Windows XP Edition
Presentation transcript:

Query – One of the objects in Microsoft Access – It can help users extract data, which meets the criteria defined by them, from a database file. – It must be written in a specific format. – Microsoft Access provides different tools to help users compose a query. – After a query is submitted, Microsoft Access looks up the database and displays the requested data. 11.1Queries The idea of a query

11.1Queries – Although a filter can help us find records that meet certain criteria, we can only obtain one set of filtered records from a table at a time. – The result cannot be further processed. – If we want to store and process the results after execution, queries should be used. The results of filtering cannot be stored for further processing.

11.1Queries – Although a filter can help us find records that meet certain criteria, we can only obtain one set of filtered records from a table at a time. – The result cannot be further processed. – If we want to store and process the results after execution, queries should be used. The results of filtering cannot be stored for further processing.

11.2Creating Queries – Ways to create a query in Microsoft Access: Using Design View Simple Query Wizard Crosstab Query Wizard

Using Design View to Create Queries –In the Design View, users can define queries with selection criteria and sorting method to retrieve and arrange the required data from more than one table. 11.2Creating Queries Extracting data with a query

Criteria of a Query –In a query, criteria can be treated as the rule of retrieving data from a table. –The following table shows the usage of wildcard * and some logical operators which can be used for setting criteria in a query. 11.2Creating Queries

Criteria of a Query 11.2Creating Queries SymbolDescriptionExample *Wildcardlike ‘*D’ like ‘A*’ =Exact match= 100 = ‘Hong Kong’ >Greater than>0 >’A’ >=Greater than or equal to>= 1/1/2007 <Less than< 100 <=Less than or equal to<= 100 <>Not equal to<>’A’ Wildcard and logical operators used for setting criteria in a query

Creating Queries with Simple Query Wizard –The Simple Query Wizard is another tool for creating queries in Microsoft Access. –In the process of generating a query, the Simple Query Wizard prompts users with a series of questions and then generates the required queries based on the responses of users. –The Simple Query Wizard does not allow users to define their own criteria. 11.2Creating Queries

Creating Queries with Simple Query Wizard –The generated queries can be further modified in the Design View. –The Simple Query Wizard can also create a summary query. –A summary query is useful when we want to obtain statistical information such as the total sales amount and the average salary. 11.2Creating Queries

Creating Queries with Simple Query Wizard –The generated queries can be further modified in the Design View. –The Simple Query Wizard can also create a summary query. –A summary query is useful when we want to obtain statistical information such as the total sales amount and the average salary. 11.2Creating Queries