edited by
416 views
1 votes
1 votes
Let R = (A, B) and S = (A,C), and let r (R) and s(S) be relations.Write
expressions in relational algebra for each of the following queries:
a. {< a > | ∃ b (< a, b > ∈ r ∧ b = 7)}
b. {< a, b, c > | < a, b > ∈ r ∧ < a, c > ∈ s}
c. {< a > | ∃ c (< a, c > ∈ s ∧ ∃ b1, b2 (< a, b1 > ∈ r ∧ < c, b2 > ∈ r ∧ b1 > b2))}
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
2