R S
------------- ---------
| A | B | C | | C | D |
------------- ---------
| 1 | 1 | 2 | | 4 | 2 |
| 1 | 1 | 2 | | 4 | 2 |
| 1 | 2 | 3 | | 2 | 1 |
| 1 | 2 | 3 | | 2 | 1 |
| 1 | 2 | 3 | | 2 | 6 |
| 1 | 4 | 1 | | 3 | 2 |
| 1 | 5 | 1 | ---------
-------------
Consider the relations R and S shown above. Let π*, σ*, ∩*, ∪*, −*, ×* denote the bag semantic versions of the relational algebra (RA) operators. Computer the results of the following queries.
( πC(R)) ∪ (πC(S))
( π*C(R)) ∪* (π*C(S))
δ ( π*C(R) )
γB,C,Count(B,C) → E R
τD(S)
π*A → F, B2+C → G (R)
R ⋈*L S
R ⋈*R S