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

Chapter07 QBE Examples

Query-by-Example (QBE) is a visual approach for accessing information in a database through the use of query templates. It allows users to ask questions about data, specify fields and records, and perform calculations. The document discusses the main features of QBE and how to use it in Microsoft Access to build various queries, perform calculations, and change table content.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
197 views

Chapter07 QBE Examples

Query-by-Example (QBE) is a visual approach for accessing information in a database through the use of query templates. It allows users to ask questions about data, specify fields and records, and perform calculations. The document discusses the main features of QBE and how to use it in Microsoft Access to build various queries, perform calculations, and change table content.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 27

Chapter 7 - Database Principles

Query-by-Example

Chapter 7 - Objectives
x

The main features of Query-By-Example (QBE). The types of queries provided by the Microsoft Access DBMS QBE facility. How to use QBE to build queries to select fields and records. How to use QBE to target single or multiple tables.
2

Chapter 7 - Objectives
x

How to perform calculations using QBE. How to use advanced QBE facilities including parameter, find matched, find unmatched, crosstab, and autolookup queries. How to use QBE action queries to change content of tables.
3

Query-by-Example (QBE)
x

Visual approach for accessing information in a database through use of query templates. Example values are entered into template to represent what access to database is to achieve, such as the answer to a query. Originally developed by IBM in 1970s and has proved so popular that QBE (or similar) is now provided by most DBMSs.
4

When user constructs a QBE - in background,

Query-by-Example (QBE)
x

Allows user to: - Ask questions about data in one or more tables. - Specify the fields we want in the answer. - Select records according to some criteria. - Perform calculations on the data in tables. - Insert and delete records. - Modify values of fields. - Create new fields and tables.
5

Introduction to Microsoft Access

Summary of Microsoft Access Query Types

Introduction to Microsoft Access Queries

Building Select Queries using QBE Specifying Criteria (Demo- SQL View)

Building Select Queries using QBE Specifying Criteria

10

Building Select Queries using QBE Specifying Criteria

11

Creating Multi-table Queries (p. 159)

12

Calculating Totals

13

Calculating Totals (p. 161)

14

Using Advanced Queries - Parameter Query

15

Using Advanced Queries - Crosstab Query

16

Using Advanced Queries - Crosstab Query

17

Using Advanced Queries - Find Matched Query

18

Using Advanced Queries - Find Unmatched Query

19

Using Advanced Queries - Autolookup Query

20

Changing Content of Tables - Make-Table Action Query

21

Changing Content of Tables - Delete Action Query

22

Changing Content of Tables - Update Action Query

23

Changing Content of Tables - Append Action Query

24

Changing Content of Tables - Append Action Query

25

Summary
x

The main features of Query-By-Example (QBE). The types of queries provided by the Microsoft Access DBMS QBE facility. How to use QBE to build queries to select fields and records. How to use QBE to target single or multiple tables.
26

Summary
x

How to perform calculations using QBE. How to use advanced QBE facilities including parameter, find matched, find unmatched, crosstab, and autolookup queries. How to use QBE action queries to change content of tables.
27

You might also like