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

Chapter 07 SBD

The document outlines the objectives of Chapter 7 which are to explain the main features of Query-By-Example (QBE) in Microsoft Access, how to use QBE to build queries to select fields and records from single or multiple tables, and how to use advanced QBE facilities like parameter, crosstab, and action queries. It also provides an introduction and overview of the different types of queries in Microsoft Access.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Chapter 07 SBD

The document outlines the objectives of Chapter 7 which are to explain the main features of Query-By-Example (QBE) in Microsoft Access, how to use QBE to build queries to select fields and records from single or multiple tables, and how to use advanced QBE facilities like parameter, crosstab, and action queries. It also provides an introduction and overview of the different types of queries in Microsoft Access.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 25

Chapter 7

Query-by-Example
Transparencies

Chapter 7 - Objectives

ThemainfeaturesofQueryByExample(QBE).

ThetypesofqueriesprovidedbytheMicrosoft
AccessDBMSQBEfacility.

How to use QBE to build queries to select fields


and records.

HowtouseQBEtotargetsingleormultipletables.
2

Chapter 7 - Objectives

HowtoperformcalculationsusingQBE.

How to use advanced QBE facilities including


parameter, find matched, find unmatched,
crosstab, and autolookup queries.

How to use QBE action queries to change


contentoftables.
3

QuerybyExample(QBE)

Visual approach for accessing information in a database


throughuseofquerytemplates.

Examplevaluesareenteredintotemplatetorepresentwhat
accesstodatabaseistoachieve,suchastheanswertoaquery.

Originally developed by IBM in 1970s and has proved so


popular that QBE (or similar) is now provided by most
DBMSs.

WhenuserconstructsaQBEinbackground,DBMScreates
anequivalentSQLstatement.

QuerybyExample(QBE)

Allowsuserto:
Askquestionsaboutdatainoneormoretables.
Specifythefieldswewantintheanswer.
Selectrecordsaccordingtosomecriteria.
Performcalculationsonthedataintables.
Insertanddeleterecords.
Modifyvaluesoffields.
Createnewfieldsandtables.
5

IntroductiontoMicrosoftAccess

SummaryofMicrosoftAccessQueryTypes

IntroductiontoMicrosoftAccessQueries

BuildingSelectQueriesusingQBE
SpecifyingCriteria

BuildingSelectQueriesusingQBE
SpecifyingCriteria

10

BuildingSelectQueriesusingQBE
SpecifyingCriteria

11

CreatingMultitableQueries

12

CalculatingTotals

13

CalculatingTotals

14

UsingAdvancedQueriesParameterQuery

15

UsingAdvancedQueriesCrosstabQuery

16

UsingAdvancedQueriesCrosstabQuery

17

UsingAdvancedQueriesFindMatchedQuery

18

UsingAdvancedQueriesFindUnmatchedQuery

19

UsingAdvancedQueriesAutolookupQuery

20

ChangingContentofTablesMakeTable
ActionQuery

21

ChangingContentofTablesDeleteAction
Query

22

ChangingContentofTablesUpdate
ActionQuery

23

ChangingContentofTablesAppend
ActionQuery

24

ChangingContentofTablesAppend
ActionQuery

25

You might also like