2.3.2 Why do we care that the expressions are equivalent?
Given the relations R (A, B) and S (B, C) where values are all integers. Examine the undermentioned three relational algebra expressions
a. A, C(R⋈B=1S)
b. A(B = 1R)XC(B = 1S)
c. A, C (ARXB = 1S)
Two of the three expressions are equivalent (i.e., they produce the same answer on all databases), while one of them can produce a different answer
Comments
Leave a comment