CS FundamentalsModerateGATE CS · PSU (ISRO/BARC)

Which set of relational algebra operators is a complete (minimal) basis from which the others can be expressed?

  1. A. Projection, natural join, set difference and division
  2. B. Selection, projection, union, set difference, Cartesian product and rename
  3. C. Selection, projection, union, intersection and Cartesian product
  4. D. Selection, projection, natural join, intersection and division

Correct answer: B. Selection, projection, union, set difference, Cartesian product and rename

Selection, projection, union, set difference, Cartesian product and rename are fundamental; ∩ = R − (R − S), ⋈ is σ over ×, and ÷ is built from π, × and −.

More DBMS and SQL questions

Exams that ask this topic