Let R1(\(\underline{A}\),B,(C)) and R2(\(\underline{D}\),E) be two relation schema, where the primary keys are shown
underlined, and let C be a foreign key in R1 referring to R2 . Suppose there is no violation of the
above referential integrity constraint in the corresponding relation instances r1 and r2 . Which one of
the following relational algebra expressions would necessarily produce an empty relation?
- A\(\Pi _{D}(r2)-\Pi _{C}(r1)\)
- B\(\Pi _{C}(r1)-\Pi _{D}(r2)\)
- C\(\Pi _{D}(r1\Join _{C\neq D}r2 )\)
- D\(\Pi _{C}(r1\Join _{C=D}r2 )\)