Vous êtes sur la page 1sur 20

DEPARTMENT OF TECHNICAL EDUCATION

GOVERNMENT OF ANDHRA PRADESH

Name of the Faculty : USHA RANI JASTY


Designation : Sr. Lecturer in CCP
Branch : D.C.C.P.
Institute : Government Polytechnic for Women,
: Kakinada, E.G. District.
Year/Semester : 3rd Semester
SUBJECT : Computer Packages
Subject Code : CCP – 305
Major Topic : Ms Access
Duration : 50 minutes
Sub Topic : Action Queries
Teaching Aids : PPT and visuals

CCP305.32 1
OBJECTIVES

On completion of this period, you would


be able to:
 Create Query for Append
 Create Query for Updation

CCP305.32 2
Structure

 Append query – Procedure


 Update query - Procedure

CCP305.32 3
Recap

 In the last period, you learned

 Definition of Query
 Types of Queries
 Creating a Query

CCP305.32 4
Creating a Query for Append
Step 1 Open the database

Figure 1 Showing database window


CCP305.32 5
Step 2
Select “Query Tab and “New” button

Figure 2 Creating query CCP305.32 6


Step 3
Select “Design View” and Click on “OK”

Figure 3 showing selecting Design view


CCP305.32 7
Step 4
Select the table and click on “Add” and “Close”

Figure 4 showing selection of table for creating query

CCP305.32 8
Step 5
Select the required field and drag into the field box

Figure 5 showing selecting fields into query

CCP305.32 9
Continued

Figure 6 showing fields selected into query

CCP305.32 10
Step 6
Select “Append Query” option from Query Menu

CCP305.32 11
Step 7
Select “Run” Option from Query Menu

CCP305.32 12
Creating a Query for Updation
 Step 1 - Open the database
 Step 2 - Select “Query” tab and click on
“New”
 Step 3 - Select “Design View” and click
on “OK”
 Step 4 - Add the required table and
Click on “Close”
 Step 5 - Select the required field and
drag

CCP305.32 13
Step 6
Select the “Update Query” from Query Menu

CCP305.32 14
Step 7
Enter the Expression for Updation and enter the
criteria

CCP305.32 15
Step 8
Select “Run” option from Query Menu

CCP305.32 16
Summary
 Append Query
 To append records of a table to another table
 Select “Append Query” Option from Query Menu
 Update Query
 To update records of a table
 Select “Update Query” Option from Query Menu
 May be done on Multiple tables with the same
procedure

CCP305.32 17
QUIZ
1. What is the query for updating the records of
a table?
ANS : Update query

4. What is the query for appending records?


ANS : Append query

CCP305.32 18
Exam Questions

1) Explain the procedure to Create Update Query


2) Explain the procedure to create Append Query

CCP305.32 19
THANK YOU

CCP305.32 20

Vous aimerez peut-être aussi