Professional Documents
Culture Documents
Domain Relational Calculus
Domain Relational Calculus
Query
QBE
Domain
{ ' }
Query
QBE
Domain
' }
certified
PILOT EQUIPMENT
joe 707
joe 727
joe 747
moe 707
doe 707
doe 727
doe 747
doe 1011
equip
EQUIPMENT
707
727
747
PILOT
joe
doe
Query
Algebra
Tuple
'
'
Query
Algebra
Tuple
')}
Domain
'))}
Query
Algebra
QBE
_x
SQL
SELECT r.rank FROM ratings r WHERE r.rank NOT IN
SELECT r1.rank FROM ratings r1,ratings r2
Tuple
Tuple
Query
Domain
' }
QBE
TEMP NAME
I. _m
TEMP NAME
_m
RESULT NAME
I. _m
SQL
Schema
frequents(DRINKER,BAR) serves(BAR,BEER)
likes(DRINKER,BEER)
Query
Get all drinkers who frequent at least one bar that serves a beer they like.
Algebra
Tuple
Domain
Query
Get the drinkers that frequent no bar that serves a beer they like.
Algebra
Domain
SQL
Query
Get the drinkers that frequent only bars that serve some beer they like.
Domain
}
Algebra
Algebra