Home » Database » Database miscellaneous » Question

Database miscellaneous

  1. Let r and s be two relations over the relational schemas R and S respectively, and let A be an attribute in R. Then the relational algebra expression A a (r s) s = >< is always equal to
    1. σA = a (r)
    2. r
    3. σA = a (r) ⋈ s
    4. None of these
Correct Option: C

Relational schemas R and S A be an attribute in R.
SA=a (r) ⋈ s
The next step is to select A = in relation
Now, since A is attribute of R and r is also a relation of R.
Here write expression is to be performed.
σA=a (r ⋈ s) = σA=a (r ) ⋈ s



Your comments will be displayed only after manual approval.