1 Microsoft Access. 2 Specifying Query Criteria 3 Exact Matches and Literal values.

Slides:



Advertisements
Similar presentations
FRACTIONS, DECIMALS AND PERCENTS
Advertisements

Marks out of 100 Mrs Smith’s Class Median Lower Quartile Upper Quartile Minimum Maximum.
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.
Microsoft Office Illustrated Building and Using Queries.
Powerpoint Jeopardy Category 1Category 2Category 3Category 4Category
Validation Checks that the data entered is sensible.
Variables i)Numeric Variable ii)String Variable
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Query-By-Example (QBE) 2440: 180 Database Concepts.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
This course has taken from This unique introductory SQL tutorial not only provides easy-to-understand SQL instructions, but it allows.
Queries and query design What are queries? Questions that can be asked of the data in the tables. Questions can draw on one or more tables and can have.
ColdFusion Variables CF uses variables to store data in memory. There are many different types of variables; each has its own use. To use a variable,
Microsoft Access 2010 Chapter 7 Using SQL.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Access 2010 © 2011 The McGraw-Hill Companies,
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
WEEK 11 Database Design. Agenda Hybrid Review Create Tables Add, Edit Data Create Relationships in MS Access 2010 Queries.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Building and Using Queries. Objectives Use the Query WizardUse the Query Wizard Work with data in a queryWork with data in a query Use Query Design ViewUse.
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.
Functions Oracle Labs 5 & 6. 2/3/2005Adapted from Introduction to Oracle: SQL and PL/SQL 2 SQL Functions Function arg n arg 2 arg 1. Input Resulting Value.
Computer Science & Engineering 2111 Lecture 11 Querying a Database 1.
Microsoft Access Illustrated Unit B: Building and Using Queries.
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?
SQL- DQL (Oracle Version). 2 SELECT Statement Syntax SELECT [DISTINCT] column_list FROM table_list [WHERE conditional expression] [GROUP BY column_list]
Unit 4, Lesson 4 Using Function Formulas. Objectives Understand function formulas. Understand function formulas. Use the Average and Sum functions. Use.
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.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
SQL and Conditions Speaker notes will provide additional information!
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
Access  Getting Started  Creating Tables  Designing Tables Worksheet #8.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Microsoft Office 2010 for Medical Professionals - Illustrated Access 2010 Unit B: Building and Using Queries.
1 Chapter 3: Customize, Analyze, and Summarize Query Data Exploring Microsoft Office Access 2007.
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.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Microsoft Access Database Creation and Management.
SQL SELECT Getting Data from the Database. Basic Format SELECT, FROM WHERE (=, >, LIKE, IN) ORDER BY ; SELECT LastName, FirstName, Phone, City FROM Customer.
Part I. Open a Access Database Blank Database Database Wizard Existing Database (last five databases saved on the computer appear in the list box. If.
Intermediate Excel 2013 Gareth Johns IT Skills Development Advisor.
Inequality Signs < means “is less than”  means “is less than or equal to” > means “is greater than”  means ”is greater than or equal to” Reading Inequalities.
A am going to create a table in design view. I am going to create a table in an Access database that contains information about the books that I have on.
IST 220 – Intro to DB Lab 2 Specifying Criteria in SELECT Statements.
Creating Advanced Queries and Enhancing Table Design.
IST 220 – Intro to DB Lab 2 Specifying Criteria in SELECT Statements.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Larry Reaves October 9, 2013 Day 16: Access Chapter 2 Larry Reaves October 9, 2013.
Basic Criteria in Queries
Building and Using Queries
Database Queries.
MS Access: Querying Tables
Exploring Microsoft Office Access 2007
Restricting and Sorting Data
follow this structure. Creating records following the structure of the table is populating the table.
Counting & Comparing Money 2 $ $ $ $.
Counting & Comparing Money $ $ $ $.
I am opeing Access 2003 in the Microsoft Office.
موضوع پروژه : بازیابی اطلاعات Information Retrieval
In this case I should have had a " after OKAY as well In this case I should have had a " after OKAY as well. I can also move OKAY by assigning.
This is the example I want the class to put up to become comfortable with creating and populating a table in Access.
Lesson 3 Chapter 10.
Every number has its place!
Microsoft Office Illustrated Introductory, Windows XP Edition
Title Author Date, Time Title Text Subtitle Body Level One Body Level Two Body Level Three.
Thing / Person:____________________ Dates:_________________
Shelly Cashman: Microsoft Access 2016
Using SQL with Access I create a database named
Exploring Microsoft Access 2003
Presentation transcript:

1 Microsoft Access

2 Specifying Query Criteria

3 Exact Matches and Literal values

4 Text Literal values for text must be enclosed in quotes: Example: "Smith"

5 Number, Currency Number and currency values should NOT be in quotes: Example: 9.70

6 Date/Time Date/Time values should be surrounded by hash signs (AKA number or pound signs) Example: #7/30/2005#

7 Inexact Matches

8 Relational operators DescriptionExample greater than>10 less than<10 greater than or equal to>=10 less than or equal to<=10 Not equal to<>10

9 between... and... between 3 and 5 includes 3, 4 and 5 between #1/1/2005# and #3/10/2006# includes all dates between Jan and March 10, 2006 between "cohen" and "cramden" inlcudes all text which sorts alphabetically between "cohen" and "cramden"

10 in ( ) Examples –in(3,5,6) –in("cohen","cramden","smith","jones") –in(#1/1/2005#, #1/1/2006#)

11 Wildcards

12 LIKE Like is used to match patterns of values Example: Like "s*" Will match all values that start with an "s"

13 Wildcards A wildcard is the pattern that specifies what will be matched.

14 Wildcard characters Wildcards use special characters to specify the types of information to match: see next few slides

15 asterisk: * asterisk ( * ) - matches any number of any character (including zero characters) examples on next slide...

16 examples of * like "s*"Matches all values that start with "s". (e.g. "smith", "schwartz", but not "cohen" or "davies") like "*s"Matches all values that end with "s" (e.g. "davies" but not "smith" or "schwartz") like "c*n" Matches all values that start with "c" and end with "n". (e.g. "cohen", "cramden", "cohan" and "cohain") like "c*a*n"Matches all values that start with c, have an "a" somewhere in the middle and end with an "n". (e.g. "cohain" and "cohan") like "c*an"Matches all values that start with "c" and end with "an". (e.g. "cohan" but not "cohain")

17 question mark: ? question mark ( ? ) matches a single character. Examples like "a??" matches "ape", "aaa" and "ark" but not "apple". like "*a?" matches "bread" and "lean" but not "apple" and not "fella"

18 number sign: # number sign ( # ) matches a single numerical digit Examples: like "###abc"(there are 3 number signs) matches "123abc" and "456abc" but not "a123abc" and not "abc123" and not "1234abc".