Let R and S be relational schemes such that R={a,b,c} and S={c}. Now consider
the following queries on the database:
\(I.\pi _{R-S}(r)-\pi_{R-S}(\pi_{R-S}(r) \times S -\pi_{R-S,S}(r))\)
\(II.\{t|t\in \pi _{R-S}(r)\wedge \forall u \in s (\exists v \in r(u=v[s]\wedge t=v[R-S]))\}\)
\(III.\{t|t\in \pi _{R-S}(r)\wedge \forall v\in r(\exists u\in s(u=v[s]\wedge t=v[R-S]))\}\)
IV. Select R.a, R.b
From R,S
Where R.c=S.cWhich of the above queries are equivalent?
- AI and II
- BI and III
- CII and IV
- DIII and IV