Explain the concept of qbe, Database Management System

Assignment Help:

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.


Related Discussions:- Explain the concept of qbe

What is nested trigger, What is Nested Trigger? A trigger can also havi...

What is Nested Trigger? A trigger can also having INSERT, UPDATE and DELETE logic within itself, so when the trigger is fired because of data modification it can also cause ano

1) Information about a bank is about customer, 1) Information a...

1) Information about a bank is about customers and their account. Customer has a name, address which consists of house number, area and city, and one or more phone numbers. Ac

Define the term- actors and data stores, Define the term- Actors and Data...

Define the term- Actors and Data Stores Actors: An actor is the active object which drives data flow graph by producing or consuming values. Actors are attached to inputs a

Which operator is used to compare a value to a list literals, Which operato...

Which operator is used to compare a value to a list of literals values that have been specified? BETWEEN operator is used to compare a value to a list of literals values that h

Differentiate sub-class and super-class, Differentiate sub-class and super-...

Differentiate sub-class and super-class? The specialization of a class is known as subclasses.eg: employee is a subclass of person and teller is a subclass of employee. Convers

Define the term- having clause and a where clause, What is the difference ...

What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? HAVING CLAUSE - HAVING CLAUSE is used only with SELECT statement. - It is normally used in a GROUP BY

Large Project, Can you help me with the following: Drop statements for all...

Can you help me with the following: Drop statements for all objects in the lab project. Create statements for all objects of the lab project Create indexes for foreign keys Cre

Explain query tree represent relational algebra expression, How does a quer...

How does a query tree represent a relational algebra expression?      Ans: This includes transforming an initial expression (tree) into an equivalent expression (tree) that is

Name the metrics for selecting top algorithm, Name the metrics for selectin...

Name the metrics for selecting top algorithm There are a number of metrics for selecting top algorithm: i) Computational complexity: Computational complexity refers to eff

Relationships, Let us first describe the term relationships. What Are Re...

Let us first describe the term relationships. What Are Relationships? A relationship can be defined as: A set of associations or connection, or A rule for communic

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd