0% found this document useful (0 votes)
26 views

RM 11 - Understanding Total Query

The document discusses different types of queries in Microsoft Access including total queries, parameter queries, and find duplicates queries. Total queries allow you to add a totals row to a table showing sums or counts of fields. Parameter queries prompt the user to enter search criteria each time the query is run. Find duplicates queries identify duplicate records in a table.

Uploaded by

Jeff Lacasandile
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

RM 11 - Understanding Total Query

The document discusses different types of queries in Microsoft Access including total queries, parameter queries, and find duplicates queries. Total queries allow you to add a totals row to a table showing sums or counts of fields. Parameter queries prompt the user to enter search criteria each time the query is run. Find duplicates queries identify duplicate records in a table.

Uploaded by

Jeff Lacasandile
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Understanding Total Query

Understanding Parameter Query


The Find Duplicates Query

Lesson 13
TOTAL QUERY

Lesson 13
Open the table in

1
SELECT THE Datasheet View and
TOTALS
click Totals in the
OPTION
  Ribbon (from the
Home tab).
A new row will be
appended to the
table with the word
Total in the first
column.
 

Creating Totals Row


In the new Total row,

2
SELECT click in the field you
WHICH FIELD want the total to be
AND applied to.
FUNCTION Select the desired
 
function from the drop-
down list.
In this example, we
apply a Sum function to
the Population field.
This will add up the
population of all
countries, and the total
will appear in our new
totals row.
 
Creating Totals Row
3
YOUR
TOTALS Access will
ROW automatically
 
generate the
total when you
select the
desired option.
 

Creating Totals Row


1
Close the
Table
 
Close the table
(using the little
X icon)
 
Click Yes at
the prompt
 

Save the Changes


Open the

2
Table and Open the table again,
See the and you will see the Totals
Totals row is still there.
  Notice that the Totals row
is fixed to the bottom of the
table. So you don’t have to
scroll down to see the
Totals row. You can still
see it even as you scroll up
and own.
 

Save the Changes


PARAMETER
QUERY
• A parameter query is one of the simplest and
most useful advanced queries you can create.
When you’re running parameter queries, search
terms act as variable criteria, which are query
criteria that change each time you run the query.
• For instance, let’s say we own a bakery and want
to create a query that will quickly look up orders
that were placed on a certain date. We could
create a parameter query with variable criteria in
the Date field. This way, each time we run the
query a dialog box will appear prompting us to
enter the date we want our query to search for
Parameter Query
Parameter Query
1 Create a query as you normally would, modifying the table joins if
necessary, selecting the fields to include in your query, and adding any
non-variable criteria to the appropriate fields in the Criteria: row

2 Locate the field where you want the variable criteria to appear, and place
your cursor in the Criteria: row

3 Type the phrase you want to appear in the prompt that will pop up each time
you run a query. Make sure to enclose the phrase in brackets [ ]. For
example, in our parameter query that searches for orders placed on a certain
date, we might type our criteria like this: [What date?].

4 On the Query Design tab, click the Run command to run your query. A dialog
box will appear with the prompt you specified. Enter your search term, then
click OK to view your query results.

Create and run a parameter query


Create and run a parameter query
FIND DUPLICATES
QUERY
• A find duplicates query allows you
to search for and identify duplicate
records within a table. A duplicate
record is a record that refers to the
same thing or person as another
record.

Find Duplicates Query


Creating Find Duplicates Query
Creating Find Duplicates Query
Creating Find Duplicates Query
Creating Find Duplicates Query
Creating Find Duplicates Query
Creating Find Duplicates Query
• ICT 10 Introduction to Database Management and
Programming (Anabel S. Suico)
• supportmicrosoft.com
• gcfglobal.org

Retrievals:

You might also like