Computer Apps 1 Queries-part 2 5.02b. Queries Query – a database object that requests information from a database and creates a dataset (list of selected.

Slides:



Advertisements
Similar presentations
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Advertisements

Concepts of Database Management Seventh Edition
Chapter 5 Creating, Sorting, and Querying a Table
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
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 Microsoft Office Access 2003.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Chapter 3 Maintaining a Database
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.1 Exploring Microsoft Office Excel Copyright © 2008 Prentice-Hall. All rights.
Maintaining and Querying a Database Microsoft Access 2010.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
You can use a query to view a subset of your data or to answer questions about your data. For example, if you want to view a list of student names and.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next Generation.
11 Exploring Microsoft Office Excel 2007 Chapter 4: Working with Large Worksheets and Tables Chapter 04 - Lecture Notes (CSIT 104)
G-Databases Competency 7.00 Objective 7.01 Demonstrate basic database concepts and functions.
XP Agenda Video Last Class Excel Tutorial 5: Working with Excel Lists Agenda for Next Class 1 New Perspectives on Microsoft Office Excel 2003 Tutorial.
Database Queries. Queries Queries are questions used to retrieve information from a database. Contain criteria to specify the records and fields to be.
Spreadsheet Operations These increase the efficiency of data entry, the performing of calculations, and the presentation of information.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module I.
Create Forms Lesson 5. Objectives Software Orientation The Forms group (below) is located on the Create tab in the Ribbon and can be used to create 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.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New 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.
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.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Figure 2.1 The Open dialog box in the Startup window. Cancel button Open dialog box folders on drive C.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
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.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
You can sort Access data so you can view records in the order you want to view them, and you can filter data so you only see the records you want to see.
Databases Sorting & Filtering Supplemental to Objective 5.01: Understand Database tables used in business.
Microsoft Access 2010 Chapter 4 Creating Reports and Forms.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Queries Objective 5.02 Understand queries, forms, and reports used in business.
Databases Competency Explain advanced database concepts and functions.
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.
Forms 5.02 Understand database queries, forms, and reports.
Chapter 18. Copyright 2003, Paradigm Publishing Inc. CHAPTER 18 BACKNEXTEND 18-2 LINKS TO OBJECTIVES Sort Text in Paragraphs, Columns, and Tables Sort.
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.
Access Maintaining and Querying a Database
Access Tutorial 3 Maintaining and Querying a Database
Analyzing Data Using Access
Access Maintaining and Querying a Database
Microsoft Office Access 2003
Tutorial 3 – Querying a Database
Microsoft Office Access 2003
G-Databases Competency 7.00
Analyzing Data Using Access
Presentation transcript:

Computer Apps 1 Queries-part b

Queries Query – a database object that requests information from a database and creates a dataset (list of selected records) matching the requested information Query Design View – a window that allows one to choose the fields in a query, to sort, and to set criteria. Query Design Grid – the lower half of the Query Design view that shows the field name, table name, sort order, show box, and criteria rows for selecting records.

Queries – Questions Queries are like advanced filters except a query can be saved and stored in the database window. Queries also perform specialized operations like performing calculations on field values and placing the results in a new column in a datasheet. Similar to advanced filters, queries allow sorting and defining of criteria to select the records desired.

Selecting Fields in a Query Choose the fields from the table or from the grid below.

Select Fields and Set Criteria Step 1: Select queries. Step 2: Select Create query. Step 3: Select fields; Set criteria and/or sorting requirements. Step 4: Run the query

Query Results Records displayed included: *Genre = “Classical” *Artist name sorted in ascending order *CD Title

Build a Query Query: A database object that allows the user to select records/data from a database using multiple criteria (comparison operators) and arrangement (sorting) standards. –Advantages Queries can be saved Each table can be associated with multiple queries

Set Conditions for Query Field Affected Sort Order Criteria: ‘Release Date’ > ‘7/01/2004’

Comparison Operators for Queries and Filters Equals= Does not equal<> Between andbetween and Less than< Greater than> Equal to or less than<= Equal to or greater than>=

Query: Advanced Criteria AND Condition: Uses the same row in the Query Design window –The AND condition reduces the number of records because both conditions must be met. OR Condition: Uses different rows in the Query Design window –The OR condition increases the number of records because records are selected if either condition is met.

Query: AND Condition Criteria: Genre = “Rock” AND Release Date after 2002 Results AND condition listed on ONE line

Query: OR Condition Results Genre = Country OR Rock And Release Date Greater than 01/01/2000 OR Condition takes 2 lines!

Search Records To search for specific records, select Find command from the Edit menu. Key the search string (data) in the dialog box. Key “where” to find the records (which table). –Similar to Find/Replace commands in other programs –Not case sensitive

Printing Tables – Portrait View Always check printouts using PRINT PREVIEW before printing. Use the menu bar and select File/Page, Setup/Page to change the orientation. Portrait - Taller than wide view

Printing Tables – Landscape View Landscape – Wider than tall view

Printing Forms Remember to choose the “Selected Record(s)” option in the Print Dialog Box when printing one or selected forms. The default will print forms for all records in the database.