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

Define multivalued dependency, Define multivalued dependency.  What do unde...

Define multivalued dependency.  What do understand by trivial multivalued dependency?  Ans: A multivalued dependency is a full constraint among two sets of attributes in a rela

Log, what is the need of a log in dbms

what is the need of a log in dbms

Describe all integrity constraints which are violated, Consider the two rel...

Consider the two relations given below Given that A is the primary key of R, D is the primary key of S and there is a referential integrity among S.A and R.A, discuss all

Explain the dynamic hashing techniques, Explain the Dynamic Hashing Techniq...

Explain the Dynamic Hashing Techniques There are two methods in it: extendible hashing - stores an access structure in addition to the file, and therefore is somewhat identica

Advantages of database systems, Problem 1. Describe the following a)...

Problem 1. Describe the following a) Advantages of Database Systems b) Functions of a DBMS Explanation of part (a) and (b) 2. Explain the following concepts w

What is a hash index, What is a hash index? A hash index organizes the ...

What is a hash index? A hash index organizes the search keys, with their associated pointers, into a hash file structure.

find a non-redundant cover and canonical cove, Given the following set of ...

Given the following set of functional dependencies {cf→ bg, g → d, cdg → f, b → de, d → c} defined on R(b,c,d,e,f,g) a. Is cf→ e implied by the FDs? b. Is dg a superkey?

Write modified version of transfer that avoids deadlock, Your OS has a set ...

Your OS has a set of queues, each of which is protected by a lock. To enqueue or dequeue an item, a thread must hold the lock associated to the queue. You need to implement an a

Define query by example, Define Query by Example QBE is a query languag...

Define Query by Example QBE is a query language relies upon domain calculus and has two dimensional syntax. The queries are written in the horizontal and vertical dimensions of

Calculate the record size r in bytes, An employee record has the following ...

An employee record has the following structure struct employee { int eno; char name[22]; float salary; char dept[10];}; (i) Calculate the record size R in bytes.

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