SlideShare a Scribd company logo
How to delect data with the help of
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

DOCX
4 creating and modifying objects in access
PPTX
View Tab in Ms-Excel
PPT
D I T211 Chapter 8 ( Lab 5)
PPTX
Excel chapter-8
PPT
D I T211 Chapter 4 ( Lab 2)
PPTX
MS-Excel Working with Pivot Table
PDF
Excel keyboard shortcuts
PPTX
E learning excel short cut keys
4 creating and modifying objects in access
View Tab in Ms-Excel
D I T211 Chapter 8 ( Lab 5)
Excel chapter-8
D I T211 Chapter 4 ( Lab 2)
MS-Excel Working with Pivot Table
Excel keyboard shortcuts
E learning excel short cut keys

What's hot (20)

PDF
Excel Shotcuts
PPTX
Excelpresentationdatavalidation
PPTX
Les19 Working With Tables
DOCX
Shortcut keys for ms excel
PDF
6.6 Creating Calculated Controls
PPTX
Export endnote library to excel
PDF
Ppt shortcut keys
PDF
PDF
5.5 Resizing Controls on Forms
DOCX
PPTX
03 excel sttp2020
PPT
05 access howtolookupselect
PPTX
Module 8-Grade center-Task 1
PDF
Print11
PPTX
Excel 2010 training presentation understand data at a glance with condition...
PPTX
Keyboard shortcuts in ms excel 5
PDF
MS Access 2010 tutorial 6
PPTX
MS excel what if analysis
PDF
Periodic table of_excel_keyboard_shortcuts
PDF
Making one key shortcut for pasting values
Excel Shotcuts
Excelpresentationdatavalidation
Les19 Working With Tables
Shortcut keys for ms excel
6.6 Creating Calculated Controls
Export endnote library to excel
Ppt shortcut keys
5.5 Resizing Controls on Forms
03 excel sttp2020
05 access howtolookupselect
Module 8-Grade center-Task 1
Print11
Excel 2010 training presentation understand data at a glance with condition...
Keyboard shortcuts in ms excel 5
MS Access 2010 tutorial 6
MS excel what if analysis
Periodic table of_excel_keyboard_shortcuts
Making one key shortcut for pasting values
Ad

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

PPTX
SQL Commands Part 3.pptx
PPTX
Null values, insert, delete and update in database
PDF
4.2 Specifying Criteria in a Query
PDF
MS Access 2010 tutorial 5
PPTX
Week 07 working with queries
PPTX
SQL.pptx for the begineers and good know
PPTX
New Perspectives: Access.03
PPTX
Commands of DML in SQL
PPT
SQL WORKSHOP::Lecture 9
PPTX
DML Statements.pptx
DOC
Oracle sql material
PDF
Sql delete, truncate, drop statements
PDF
PPTX
Commands
PDF
full detailled SQL notesquestion bank (1).pdf
PPTX
004.action query
PPT
database management system lessonchapter
PPTX
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
PPTX
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
PPTX
Structured Query Language (SQL) Part 2.pptx
SQL Commands Part 3.pptx
Null values, insert, delete and update in database
4.2 Specifying Criteria in a Query
MS Access 2010 tutorial 5
Week 07 working with queries
SQL.pptx for the begineers and good know
New Perspectives: Access.03
Commands of DML in SQL
SQL WORKSHOP::Lecture 9
DML Statements.pptx
Oracle sql material
Sql delete, truncate, drop statements
Commands
full detailled SQL notesquestion bank (1).pdf
004.action query
database management system lessonchapter
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
SQL-Tutorial.P1241112567Pczwq.powerpoint.pptx
Structured Query Language (SQL) Part 2.pptx
Ad

More from Talesun Solar USA Ltd. (13)

PPTX
What is http?
PPTX
Inner Join In Ms Access
PPTX
History of Database
PPT
Pipelining In computer
PPTX
Sale management
PPTX
PPTX
Entity relationship diagram
PPTX
Vehicular ad hoc network
PPT
Satellite network
PPT
Instruction cycle
PPTX
What is http?
Inner Join In Ms Access
History of Database
Pipelining In computer
Sale management
Entity relationship diagram
Vehicular ad hoc network
Satellite network
Instruction cycle

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Cell Structure & Organelles in detailed.
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Computing-Curriculum for Schools in Ghana
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Pre independence Education in Inndia.pdf
GDM (1) (1).pptx small presentation for students
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
O7-L3 Supply Chain Operations - ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Cell Structure & Organelles in detailed.
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Renaissance Architecture: A Journey from Faith to Humanism
Microbial disease of the cardiovascular and lymphatic systems
Computing-Curriculum for Schools in Ghana
Supply Chain Operations Speaking Notes -ICLT Program
STATICS OF THE RIGID BODIES Hibbelers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Insiders guide to clinical Medicine.pdf
TR - Agricultural Crops Production NC III.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Sports Quiz easy sports quiz sports quiz
Abdominal Access Techniques with Prof. Dr. R K Mishra
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pre independence Education in Inndia.pdf

How to delect data with the help of

  • 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.