explain the concept of qbequery-by-example


Explain the concept of QBE?

Query-by-example represents a visual/graphical approach for accessing information in a database by the use of query templates called as skeleton tables. It is used through entering example values directly within a query template to represent what is to be achieved. QBE was developed at IBMs. T.J. Watson Research Centre and it is used through many database systems for personal computers. QBE is an extremely powerful facility that gives the user the capability to access the information a user needs without the knowledge of any programming language.

Queries in QBE are expressed through skeleton tables. QBE has two distinct features:

- QBE has two-dimensional syntax: Queries look like tables.
- QBE queries are expressed "by example". Instead of giving a process for obtaining the desired answer, the user provides an example of what is desired.
An example of QBE is given as
EMPNO NAME SALARY DESIG DEPTNO
P..x "Manager"

This query tells the system to such as for tuples in EMP relation which have designation Manager. For each such tuple, the system assigns the value of the Ename attribute to the variable x and prints it.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: explain the concept of qbequery-by-example
Reference No:- TGS0282982

Expected delivery within 24 Hours