0% found this document useful (0 votes)
15 views14 pages

7 Creating Queries in Ms Access

This document outlines the objectives and steps for creating queries in MS Access, emphasizing the definition and types of queries. It provides a step-by-step guide for creating a query to extract specific data, such as students enrolled in Computer Studies with their grades. Key components of a query and how to filter and display relevant information are also discussed.

Uploaded by

abbeymcg09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views14 pages

7 Creating Queries in Ms Access

This document outlines the objectives and steps for creating queries in MS Access, emphasizing the definition and types of queries. It provides a step-by-step guide for creating a query to extract specific data, such as students enrolled in Computer Studies with their grades. Key components of a query and how to filter and display relevant information are also discussed.

Uploaded by

abbeymcg09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Creating Queries

Extracting and Analyzing Data Efficiently


Objectives

By the end of this lesson, students should


be able to:

✔ Define a query in MS Access.


✔ Identify different types of queries.
✔ Create a basic query using Query Design.
✔ Label key parts of a query.
✔ Perform a simple activity to test a query.
What is a Query?

• A query is a tool in MS Access that allows users to retrieve, filter, and


analyze specific data from one or more tables.
• Queries help organize large amounts of data efficiently by displaying only
relevant information.
• Example: Instead of viewing all student records, a query can display only
students with grades above 80%.
• There a several types of Queries
• Select Query (Retrieves specific data from one or more tables.)
• Updated Query (also knows as action query)
• Calculated Query ( creates a new calculated field)
Steps to Create a Query in MS Access

• Click on the Create tab and choose Query Design.

• Select the table(s) containing the data.

• Drag and drop fields into the query grid.

• Apply criteria to filter data (e.g., >80 for grades). (IF REQUESTED)

• Run the query to view the results.

• Save the query with an appropriate name.


Create a query which reflects the students who are
enrolled in Computer Studies. The student’s grade
should also be reflected.
STEP 1: Click on the Create tab and choose
Query Design
STEP 2: Select the table(s) containing the
data.
STEP 2: Select
the table(s)
containing the
data.
cont’d
STEP 3: Drag
and drop fields
into the query
grid.
(DEMO)
STEP 4 : Run the query to view the results
STEP 4: Run
the query to
view the results
(DEMO)

Computer Studies
STEP 4: Run the
query to view the
results :
THE RESULT
STEP 5: Save the query with an appropriate name.
Query Grid: Area where fields and
Indicates the
table each
criteria are added.
field belongs
to. Shows selected Arranges the output in
fields from a table ascending or descending
order based on a selected
field

The Show checkbox


determines whether a
Specifies conditions to field appears in the final
filter data. query output.

You might also like