Is there a "real" difference between the above two? Other than the tiniest minute difference between their syntax?
Domain and Tuple relational calculus
12.4k views Asked by simplfuzz At
4
There are 4 answers
0
On
Domain calculus differs from tuple calculus in the type of variables used in formulas:
Rather than having variables range over tuples, the variables range over single values from domains of attributes. To form a relation of degree n for a query result, we must have n of these domain variables— one for each attribute.
1
On
The tuple-oriented calculus uses a tuple variables i.e., variable whose only permitted values are tuples of that relation. E.g. QUELThe domain-oriented calculus has domain variables i.e., variables that range over the underlying domains instead of over relation. E.g. ILL, DEDUCE....The tuple-oriented calculus uses a tuple variables i.e., variable whose only permitted values are tuples of that relation. E
From what I recall they're equally expressive - that is, anything that can be expressed using domain relational algebra can also be expressed using tuple relational calculus. Some people find DRA easier to interpret...