SlideShare a Scribd company logo
1 of 8
Hafiz Hamza Ashraf
For questions mail me at:
hafizhamza313@gmail.com
Reference at:
https://support.office.com/en-
us/article/Examples-of-query-criteria-
3197228c-8684-4552-ac03-
aba746fb29d8
Topic:
HOW TO DELECT DATA WITH
THE
HELP OF QUERY
EXAMPLE
IMPORTANT
Create and use a delete query
The steps in this section explain how to create and use a delete
query to delete entire records from a table:
1: On the Create tab, in the Queries group, click Query Design.
The Show Table dialog box appears
1: Double-click each table from which you want to delete
records, and then click Close.
The table appears as a window in the upper section of the query
design grid. The window lists all of the fields in the selected
table.
1: Double-click the asterisk (*) to add all of the fields in the table
to the design grid.
Optionally, double-click any field that you want to use to specify
criteria for deletion, enter one or more criteria in
theCriteria row of the designer, and then clear
the Show check box for each criteria field.
EXAMPLE
 For example, suppose that a customer
goes out of business and you need to
remove all of the pending orders for
that customer. To find just those
records, you add the Customer ID and
Order Date fields to the design grid,
and then you enter the ID number of
the customer that went out of
business, and the date on which that
customer's orders became invalid.
IMPORTANT
Use criteria to return only the records that
you want to delete. Otherwise, the delete
query removes every record in the table.
 On the Design tab, in the Results group,
click View, and then click the Datasheet
View.
 Verify that the query returns the records
that you want to delete, and then press
CTRL+S to save the query.
 To run the query, double-click the query
in the Navigation Pane.
DIAGRAM
How to delect data with the help of

More Related Content

What's hot

Excel Shotcuts
Excel ShotcutsExcel Shotcuts
Excel Shotcuts
Raghu nath
 
Les19 Working With Tables
Les19 Working With TablesLes19 Working With Tables
Les19 Working With Tables
guevarra_2000
 

What's hot (20)

Excel Shotcuts
Excel ShotcutsExcel Shotcuts
Excel Shotcuts
 
Excelpresentationdatavalidation
ExcelpresentationdatavalidationExcelpresentationdatavalidation
Excelpresentationdatavalidation
 
Les19 Working With Tables
Les19 Working With TablesLes19 Working With Tables
Les19 Working With Tables
 
Shortcut keys for ms excel
Shortcut keys for ms excelShortcut keys for ms excel
Shortcut keys for ms excel
 
6.6 Creating Calculated Controls
6.6 Creating Calculated Controls6.6 Creating Calculated Controls
6.6 Creating Calculated Controls
 
Export endnote library to excel
Export endnote library to excelExport endnote library to excel
Export endnote library to excel
 
Ppt shortcut keys
Ppt shortcut keysPpt shortcut keys
Ppt shortcut keys
 
Excel
ExcelExcel
Excel
 
5.5 Resizing Controls on Forms
5.5 Resizing Controls on Forms5.5 Resizing Controls on Forms
5.5 Resizing Controls on Forms
 
Excel
ExcelExcel
Excel
 
03 excel sttp2020
03 excel sttp202003 excel sttp2020
03 excel sttp2020
 
05 access howtolookupselect
05 access howtolookupselect05 access howtolookupselect
05 access howtolookupselect
 
Module 8-Grade center-Task 1
Module 8-Grade center-Task 1Module 8-Grade center-Task 1
Module 8-Grade center-Task 1
 
Print11
Print11Print11
Print11
 
Excel 2010 training presentation understand data at a glance with condition...
Excel 2010 training presentation   understand data at a glance with condition...Excel 2010 training presentation   understand data at a glance with condition...
Excel 2010 training presentation understand data at a glance with condition...
 
Keyboard shortcuts in ms excel 5
Keyboard shortcuts in ms excel 5Keyboard shortcuts in ms excel 5
Keyboard shortcuts in ms excel 5
 
MS Access 2010 tutorial 6
MS Access 2010 tutorial 6MS Access 2010 tutorial 6
MS Access 2010 tutorial 6
 
MS excel what if analysis
MS excel what if analysisMS excel what if analysis
MS excel what if analysis
 
Periodic table of_excel_keyboard_shortcuts
Periodic table of_excel_keyboard_shortcutsPeriodic table of_excel_keyboard_shortcuts
Periodic table of_excel_keyboard_shortcuts
 
Making one key shortcut for pasting values
Making one key shortcut for pasting valuesMaking one key shortcut for pasting values
Making one key shortcut for pasting values
 

Similar to How to delect data with the help of

Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel training
Mohamed Hassan
 
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docxA Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
daniahendric
 
Access advanced tutorial
Access advanced tutorialAccess advanced tutorial
Access advanced tutorial
catacata1976
 
Chapter 10.1.5
Chapter 10.1.5Chapter 10.1.5
Chapter 10.1.5
patcha535
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
juan1826
 

Similar to How to delect data with the help of (20)

Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel training
 
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docxA Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
 
MS Access 2010 tutorial 5
MS Access 2010 tutorial 5MS Access 2010 tutorial 5
MS Access 2010 tutorial 5
 
Microsoft excel part 2
Microsoft excel part 2Microsoft excel part 2
Microsoft excel part 2
 
Access advanced tutorial
Access advanced tutorialAccess advanced tutorial
Access advanced tutorial
 
Class viii ch-4 working with queries
Class  viii ch-4 working with queriesClass  viii ch-4 working with queries
Class viii ch-4 working with queries
 
Chapter 10.1.5
Chapter 10.1.5Chapter 10.1.5
Chapter 10.1.5
 
4.ppt
4.ppt4.ppt
4.ppt
 
Microsoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 EcdlMicrosoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 Ecdl
 
Sample line
Sample lineSample line
Sample line
 
Excel07 l2student
Excel07 l2studentExcel07 l2student
Excel07 l2student
 
W5_MSEXCEL.pdf
W5_MSEXCEL.pdfW5_MSEXCEL.pdf
W5_MSEXCEL.pdf
 
Management of database information system
Management of database information systemManagement of database information system
Management of database information system
 
The 7 basic quality tools through minitab 18
The 7 basic quality tools through minitab 18The 7 basic quality tools through minitab 18
The 7 basic quality tools through minitab 18
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
 
MS Excel 2013.pptx
MS Excel 2013.pptxMS Excel 2013.pptx
MS Excel 2013.pptx
 
Libre Office Calc Lesson 5: Working with Data
Libre Office Calc Lesson 5: Working with DataLibre Office Calc Lesson 5: Working with Data
Libre Office Calc Lesson 5: Working with Data
 
11 Organizing Project Details
11 Organizing Project Details11 Organizing Project Details
11 Organizing Project Details
 
ServiceNow (SNOW) Reporting Explaind
ServiceNow (SNOW) Reporting ExplaindServiceNow (SNOW) Reporting Explaind
ServiceNow (SNOW) Reporting Explaind
 
MS Excel 2013
MS Excel 2013MS Excel 2013
MS Excel 2013
 

More from Talesun Solar USA Ltd.

More from Talesun Solar USA Ltd. (13)

What is http?
What is http?What is http?
What is http?
 
Inner Join In Ms Access
Inner Join In Ms AccessInner Join In Ms Access
Inner Join In Ms Access
 
History of Database
History  of DatabaseHistory  of Database
History of Database
 
Pipelining In computer
Pipelining In computer Pipelining In computer
Pipelining In computer
 
Sale management
Sale managementSale management
Sale management
 
E commerce
E commerceE commerce
E commerce
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Wi fi
Wi fiWi fi
Wi fi
 
Vehicular ad hoc network
Vehicular ad hoc networkVehicular ad hoc network
Vehicular ad hoc network
 
Satellite network
Satellite networkSatellite network
Satellite network
 
Password
PasswordPassword
Password
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Bluetooth
BluetoothBluetooth
Bluetooth
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

How to delect data with the help of

  • 1.
  • 2. Hafiz Hamza Ashraf For questions mail me at: hafizhamza313@gmail.com Reference at: https://support.office.com/en- us/article/Examples-of-query-criteria- 3197228c-8684-4552-ac03- aba746fb29d8
  • 3. Topic: HOW TO DELECT DATA WITH THE HELP OF QUERY EXAMPLE IMPORTANT
  • 4. Create and use a delete query The steps in this section explain how to create and use a delete query to delete entire records from a table: 1: On the Create tab, in the Queries group, click Query Design. The Show Table dialog box appears 1: Double-click each table from which you want to delete records, and then click Close. The table appears as a window in the upper section of the query design grid. The window lists all of the fields in the selected table. 1: Double-click the asterisk (*) to add all of the fields in the table to the design grid. Optionally, double-click any field that you want to use to specify criteria for deletion, enter one or more criteria in theCriteria row of the designer, and then clear the Show check box for each criteria field.
  • 5. EXAMPLE  For example, suppose that a customer goes out of business and you need to remove all of the pending orders for that customer. To find just those records, you add the Customer ID and Order Date fields to the design grid, and then you enter the ID number of the customer that went out of business, and the date on which that customer's orders became invalid.
  • 6. IMPORTANT Use criteria to return only the records that you want to delete. Otherwise, the delete query removes every record in the table.  On the Design tab, in the Results group, click View, and then click the Datasheet View.  Verify that the query returns the records that you want to delete, and then press CTRL+S to save the query.  To run the query, double-click the query in the Navigation Pane.