SlideShare a Scribd company logo
1 of 3
Download to read offline
4.2 Specifying Criteria in a Query
http://www.skitfy.com
• You can refine query results by setting criteria for the query.
• Query criteria are the rules that the query follows to determine what information to
extract. When you set criteria for a query, Access extracts only fields and records that
match your criteria.
• When a query is displayed in Design view, you see the Criteria row in the design grid
section.
• You use the Criteria row to specify criteria that limit query results. An alphabetical phrase,
such as CH, is one kind of criterion that you can specify in a query.
• You can also customize criteria by using a wildcard. A wildcard is a character, such as an
asterisk or question mark.
Wildcard Usage Example
* Matches any one or more character(s). wh* finds what, white,
and wh2gH.
? Matches any one alphabetic character. w?ll finds wall, will, and
well.
[*] Matches any character(s) within the brackets. m[ae]ll finds mall and
mell, but not mill.
[!*] Matches any character(s) not in the brackets. m[!ae]ll finds mill and
mull, but not mall or mell.
[*-*] Matches any character in a range. The range
must be in ascending order (A to Z, not Z to
A).
m[a-c]d finds mad, mbd,
and mcd.
# Matches any single numeric character. 10# finds 100 –109.
• You can specify criteria for more than one field in a query at a time. If you enter a criterion
in more than one column in the Criteria row, the query results will include only records
that match both criteria.
• For example, you can create a query that extracts records from tblEmployees for
employees whose last names begin with B and who began work in 1996.
4.3 Creating a Query in Design View
http://www.skitfy.com
1. Open Database Fundamentals 04
2. Click Create.
3. Click Query Design.
4. In the Show Table dialog box, click
tblHumanResourcesData, and click Add.
5. In the Show Table dialog box, click Close.
6. In the tblHumanResourcesData
field list, click EmployeeID, and drag
the field name to the first blank cell
in the Field row in the design grid.
7. Repeat step 6 to add the
DateHired, Title, and Salary fields to
the blank cells in the Field row.
(You can also Double Click)
http://www.skitfy.com
8. In the DateHired column, click in the Criteria row, and type */*/93. (If 4 digits, use 1993)
(The query will find only records for employees hired during 1993.)
9. In the Title column, click in the Criteria row, type *Marketing*, and then press Enter.
(The query will find only records for employees hired during 1993 and whose job title includes
the word Marketing.)
10. Click Run.
(The query results appear, displaying records for any employee hired during 1993 whose job
title includes the word Marketing.)

More Related Content

What's hot

MS-Excel Working with Pivot Table
MS-Excel Working with Pivot TableMS-Excel Working with Pivot Table
MS-Excel Working with Pivot TableP. SUNDARI ARUN
 
Lesson Six Entering And Editing Data In Tables
Lesson Six   Entering And Editing Data In TablesLesson Six   Entering And Editing Data In Tables
Lesson Six Entering And Editing Data In Tablesguevarra_2000
 
5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoFormPyi Soe
 
Access lesson 06 Integrating Access
Access lesson 06  Integrating AccessAccess lesson 06  Integrating Access
Access lesson 06 Integrating AccessAram SE
 
Access lesson 02 Creating a Database
Access lesson 02 Creating a DatabaseAccess lesson 02 Creating a Database
Access lesson 02 Creating a DatabaseAram SE
 

What's hot (8)

MS-Excel Working with Pivot Table
MS-Excel Working with Pivot TableMS-Excel Working with Pivot Table
MS-Excel Working with Pivot Table
 
Lesson Six Entering And Editing Data In Tables
Lesson Six   Entering And Editing Data In TablesLesson Six   Entering And Editing Data In Tables
Lesson Six Entering And Editing Data In Tables
 
5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm
 
Access lesson 06 Integrating Access
Access lesson 06  Integrating AccessAccess lesson 06  Integrating Access
Access lesson 06 Integrating Access
 
MS Access 2010 tutorial 3
MS Access 2010 tutorial 3MS Access 2010 tutorial 3
MS Access 2010 tutorial 3
 
Access lesson 02 Creating a Database
Access lesson 02 Creating a DatabaseAccess lesson 02 Creating a Database
Access lesson 02 Creating a Database
 
Data Clean-up: Is There A Better Way?
Data Clean-up: Is There A Better Way?Data Clean-up: Is There A Better Way?
Data Clean-up: Is There A Better Way?
 
Query basics
Query basicsQuery basics
Query basics
 

Viewers also liked (11)

Personal Branding on LinkedIn
Personal Branding on LinkedInPersonal Branding on LinkedIn
Personal Branding on LinkedIn
 
Plan de mejoramiento noveno segundo periodo2012
Plan de mejoramiento noveno segundo periodo2012Plan de mejoramiento noveno segundo periodo2012
Plan de mejoramiento noveno segundo periodo2012
 
cv
cvcv
cv
 
Preparing for your Next Interview
Preparing for your Next InterviewPreparing for your Next Interview
Preparing for your Next Interview
 
Tecnologia cartas
Tecnologia cartasTecnologia cartas
Tecnologia cartas
 
Trabajo final
Trabajo finalTrabajo final
Trabajo final
 
Maths ppt
Maths ppt Maths ppt
Maths ppt
 
Sarahmadayan143
Sarahmadayan143Sarahmadayan143
Sarahmadayan143
 
Effect of Heavy Metals on Seed Germination of Trigonella foenum-graceum L.
Effect of Heavy Metals on Seed Germination of Trigonella foenum-graceum L.Effect of Heavy Metals on Seed Germination of Trigonella foenum-graceum L.
Effect of Heavy Metals on Seed Germination of Trigonella foenum-graceum L.
 
Національно патріотичне виховання у дошкільному навчальному закладі №392 №392
Національно патріотичне виховання у дошкільному навчальному закладі №392 №392Національно патріотичне виховання у дошкільному навчальному закладі №392 №392
Національно патріотичне виховання у дошкільному навчальному закладі №392 №392
 
Airbnb ppt
Airbnb pptAirbnb ppt
Airbnb ppt
 

Similar to 4.2 Specifying Criteria in a Query

Micro Soft Access - Working with Fields
Micro Soft Access - Working with FieldsMicro Soft Access - Working with Fields
Micro Soft Access - Working with FieldsFaHaD .H. NooR
 
Remedy_Web_Searches_and_Reporting.pdf
Remedy_Web_Searches_and_Reporting.pdfRemedy_Web_Searches_and_Reporting.pdf
Remedy_Web_Searches_and_Reporting.pdfAli
 
4.4 Creating a Calculated Field
4.4 Creating a Calculated Field4.4 Creating a Calculated Field
4.4 Creating a Calculated FieldPyi Soe
 
5 Designing Form
5 Designing Form5 Designing Form
5 Designing FormPyi Soe
 
Getting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot TablesGetting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot TablesParth Acharya
 
Splitter Pro X version Tutorial June 2020 English
Splitter Pro X version Tutorial June 2020 EnglishSplitter Pro X version Tutorial June 2020 English
Splitter Pro X version Tutorial June 2020 EnglishAdhi Wikantyoso
 
Sas visual analytics Training
Sas visual analytics Training Sas visual analytics Training
Sas visual analytics Training bidwhm
 
Exam view dynamic recalculation files
Exam view dynamic recalculation filesExam view dynamic recalculation files
Exam view dynamic recalculation filesWilliam McIntosh
 
Excel presentation data validation
Excel presentation   data validationExcel presentation   data validation
Excel presentation data validationNagamani Y R
 
BUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docxBUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docxhumphrieskalyn
 
Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02jgardne4
 
Preview of Custom Search Admin Tools
Preview of Custom Search Admin ToolsPreview of Custom Search Admin Tools
Preview of Custom Search Admin ToolsAxiell ALM
 
Creating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsCreating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsThiyagu K
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit Bjarana00
 
BBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignmentBBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignmentRoshan Kumar
 
Mil.patron
Mil.patronMil.patron
Mil.patroncsufcirc
 

Similar to 4.2 Specifying Criteria in a Query (20)

Micro Soft Access - Working with Fields
Micro Soft Access - Working with FieldsMicro Soft Access - Working with Fields
Micro Soft Access - Working with Fields
 
Remedy_Web_Searches_and_Reporting.pdf
Remedy_Web_Searches_and_Reporting.pdfRemedy_Web_Searches_and_Reporting.pdf
Remedy_Web_Searches_and_Reporting.pdf
 
4.4 Creating a Calculated Field
4.4 Creating a Calculated Field4.4 Creating a Calculated Field
4.4 Creating a Calculated Field
 
5 Designing Form
5 Designing Form5 Designing Form
5 Designing Form
 
Getting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot TablesGetting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot Tables
 
Splitter Pro X version Tutorial June 2020 English
Splitter Pro X version Tutorial June 2020 EnglishSplitter Pro X version Tutorial June 2020 English
Splitter Pro X version Tutorial June 2020 English
 
Sas visual analytics Training
Sas visual analytics Training Sas visual analytics Training
Sas visual analytics Training
 
Access.05
Access.05Access.05
Access.05
 
Exam view dynamic recalculation files
Exam view dynamic recalculation filesExam view dynamic recalculation files
Exam view dynamic recalculation files
 
Excel presentation data validation
Excel presentation   data validationExcel presentation   data validation
Excel presentation data validation
 
BUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docxBUSI 301 Book Review RubricScoreCommentsResearch 25.docx
BUSI 301 Book Review RubricScoreCommentsResearch 25.docx
 
Ayush presentation
Ayush presentationAyush presentation
Ayush presentation
 
Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02
 
Mentor Your Indexes
Mentor Your IndexesMentor Your Indexes
Mentor Your Indexes
 
Preview of Custom Search Admin Tools
Preview of Custom Search Admin ToolsPreview of Custom Search Admin Tools
Preview of Custom Search Admin Tools
 
Creating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsCreating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS Statistics
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit B
 
BBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignmentBBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignment
 
Mil.patron
Mil.patronMil.patron
Mil.patron
 

More from Pyi Soe

Atlas.Ti Summary
Atlas.Ti SummaryAtlas.Ti Summary
Atlas.Ti SummaryPyi Soe
 
6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report Wizard6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report WizardPyi Soe
 
6.6 Creating Calculated Controls
6.6 Creating Calculated Controls6.6 Creating Calculated Controls
6.6 Creating Calculated ControlsPyi Soe
 
6.3 Adding a Control to a Report
6.3 Adding a Control to a Report6.3 Adding a Control to a Report
6.3 Adding a Control to a ReportPyi Soe
 
6.4 Creating a Report in Design View
6.4 Creating a Report in Design View6.4 Creating a Report in Design View
6.4 Creating a Report in Design ViewPyi Soe
 
6.1 Creating a Report Using AutoReport
6.1 Creating a Report Using AutoReport6.1 Creating a Report Using AutoReport
6.1 Creating a Report Using AutoReportPyi Soe
 
5.5 Resizing Controls on Forms
5.5 Resizing Controls on Forms5.5 Resizing Controls on Forms
5.5 Resizing Controls on FormsPyi Soe
 
5.4 Modifying Control Properties
5.4 Modifying Control Properties5.4 Modifying Control Properties
5.4 Modifying Control PropertiesPyi Soe
 
5.3 Adding Controls to a Form
5.3 Adding Controls to a Form5.3 Adding Controls to a Form
5.3 Adding Controls to a FormPyi Soe
 
4.1 Creating a Query Using the Simple Query Wizard
4.1 Creating a Query Using the Simple Query Wizard4.1 Creating a Query Using the Simple Query Wizard
4.1 Creating a Query Using the Simple Query WizardPyi Soe
 
3.1 Formatting a Table
3.1 Formatting a Table3.1 Formatting a Table
3.1 Formatting a TablePyi Soe
 
3.3 Finding Records in a Table
3.3 Finding Records in a Table3.3 Finding Records in a Table
3.3 Finding Records in a TablePyi Soe
 
2.4 Adding Records
2.4 Adding Records2.4 Adding Records
2.4 Adding RecordsPyi Soe
 
3.6 Establishing a Relationship
3.6 Establishing a Relationship3.6 Establishing a Relationship
3.6 Establishing a RelationshipPyi Soe
 
2.1 Creating a Database
2.1 Creating a Database2.1 Creating a Database
2.1 Creating a DatabasePyi Soe
 
1.3 Moving Around in Access
1.3 Moving Around in Access1.3 Moving Around in Access
1.3 Moving Around in AccessPyi Soe
 
1.4 Opening an Object in Datasheet View
1.4 Opening an Object in Datasheet View1.4 Opening an Object in Datasheet View
1.4 Opening an Object in Datasheet ViewPyi Soe
 
2.3 Adding Fields to Tables
2.3 Adding Fields to Tables2.3 Adding Fields to Tables
2.3 Adding Fields to TablesPyi Soe
 
1.1 Starting Access
1.1 Starting Access1.1 Starting Access
1.1 Starting AccessPyi Soe
 
Ps access3.3 to3.5
Ps access3.3 to3.5Ps access3.3 to3.5
Ps access3.3 to3.5Pyi Soe
 

More from Pyi Soe (20)

Atlas.Ti Summary
Atlas.Ti SummaryAtlas.Ti Summary
Atlas.Ti Summary
 
6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report Wizard6.2 Creating a Report Using the Report Wizard
6.2 Creating a Report Using the Report Wizard
 
6.6 Creating Calculated Controls
6.6 Creating Calculated Controls6.6 Creating Calculated Controls
6.6 Creating Calculated Controls
 
6.3 Adding a Control to a Report
6.3 Adding a Control to a Report6.3 Adding a Control to a Report
6.3 Adding a Control to a Report
 
6.4 Creating a Report in Design View
6.4 Creating a Report in Design View6.4 Creating a Report in Design View
6.4 Creating a Report in Design View
 
6.1 Creating a Report Using AutoReport
6.1 Creating a Report Using AutoReport6.1 Creating a Report Using AutoReport
6.1 Creating a Report Using AutoReport
 
5.5 Resizing Controls on Forms
5.5 Resizing Controls on Forms5.5 Resizing Controls on Forms
5.5 Resizing Controls on Forms
 
5.4 Modifying Control Properties
5.4 Modifying Control Properties5.4 Modifying Control Properties
5.4 Modifying Control Properties
 
5.3 Adding Controls to a Form
5.3 Adding Controls to a Form5.3 Adding Controls to a Form
5.3 Adding Controls to a Form
 
4.1 Creating a Query Using the Simple Query Wizard
4.1 Creating a Query Using the Simple Query Wizard4.1 Creating a Query Using the Simple Query Wizard
4.1 Creating a Query Using the Simple Query Wizard
 
3.1 Formatting a Table
3.1 Formatting a Table3.1 Formatting a Table
3.1 Formatting a Table
 
3.3 Finding Records in a Table
3.3 Finding Records in a Table3.3 Finding Records in a Table
3.3 Finding Records in a Table
 
2.4 Adding Records
2.4 Adding Records2.4 Adding Records
2.4 Adding Records
 
3.6 Establishing a Relationship
3.6 Establishing a Relationship3.6 Establishing a Relationship
3.6 Establishing a Relationship
 
2.1 Creating a Database
2.1 Creating a Database2.1 Creating a Database
2.1 Creating a Database
 
1.3 Moving Around in Access
1.3 Moving Around in Access1.3 Moving Around in Access
1.3 Moving Around in Access
 
1.4 Opening an Object in Datasheet View
1.4 Opening an Object in Datasheet View1.4 Opening an Object in Datasheet View
1.4 Opening an Object in Datasheet View
 
2.3 Adding Fields to Tables
2.3 Adding Fields to Tables2.3 Adding Fields to Tables
2.3 Adding Fields to Tables
 
1.1 Starting Access
1.1 Starting Access1.1 Starting Access
1.1 Starting Access
 
Ps access3.3 to3.5
Ps access3.3 to3.5Ps access3.3 to3.5
Ps access3.3 to3.5
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

4.2 Specifying Criteria in a Query

  • 1. 4.2 Specifying Criteria in a Query http://www.skitfy.com • You can refine query results by setting criteria for the query. • Query criteria are the rules that the query follows to determine what information to extract. When you set criteria for a query, Access extracts only fields and records that match your criteria. • When a query is displayed in Design view, you see the Criteria row in the design grid section. • You use the Criteria row to specify criteria that limit query results. An alphabetical phrase, such as CH, is one kind of criterion that you can specify in a query. • You can also customize criteria by using a wildcard. A wildcard is a character, such as an asterisk or question mark. Wildcard Usage Example * Matches any one or more character(s). wh* finds what, white, and wh2gH. ? Matches any one alphabetic character. w?ll finds wall, will, and well. [*] Matches any character(s) within the brackets. m[ae]ll finds mall and mell, but not mill. [!*] Matches any character(s) not in the brackets. m[!ae]ll finds mill and mull, but not mall or mell. [*-*] Matches any character in a range. The range must be in ascending order (A to Z, not Z to A). m[a-c]d finds mad, mbd, and mcd. # Matches any single numeric character. 10# finds 100 –109. • You can specify criteria for more than one field in a query at a time. If you enter a criterion in more than one column in the Criteria row, the query results will include only records that match both criteria. • For example, you can create a query that extracts records from tblEmployees for employees whose last names begin with B and who began work in 1996.
  • 2. 4.3 Creating a Query in Design View http://www.skitfy.com 1. Open Database Fundamentals 04 2. Click Create. 3. Click Query Design. 4. In the Show Table dialog box, click tblHumanResourcesData, and click Add. 5. In the Show Table dialog box, click Close. 6. In the tblHumanResourcesData field list, click EmployeeID, and drag the field name to the first blank cell in the Field row in the design grid. 7. Repeat step 6 to add the DateHired, Title, and Salary fields to the blank cells in the Field row. (You can also Double Click)
  • 3. http://www.skitfy.com 8. In the DateHired column, click in the Criteria row, and type */*/93. (If 4 digits, use 1993) (The query will find only records for employees hired during 1993.) 9. In the Title column, click in the Criteria row, type *Marketing*, and then press Enter. (The query will find only records for employees hired during 1993 and whose job title includes the word Marketing.) 10. Click Run. (The query results appear, displaying records for any employee hired during 1993 whose job title includes the word Marketing.)