SQL made by IBM in the system R project.

includes relational algebra and tuple calculus

The data definition language includes:

no deletion because you can always just do a projection

The data manipulation language is:

Also some aggregate operations (used with select)

Set operations

example:

who makes more than Jacque?

Select e1.Name, e1.PayRate

From EMPLOYEE e1, EMPLOYEE e2

where e1.PayRate tex2html_wrap84 e2.PayRate AND e2.Name=''Jacques''

Another example:

want itemized bills from employee #3

Relations:

select receipt.item#, inventory.item_desc,qty,item_cost, qty*item_cost,bill.bill#

from bill, receipt, inventory

where employee#=3 and date=2/21/97




source
psfile jl@crush.caltech.edu index
relational_language
QUEL
QBE