CS FundamentalsHardGATE CS · PSU (ISRO/BARC)

R(A, B) has 120 tuples and S(B, C) has 40 tuples, where B is a key of neither relation. What are the minimum and maximum possible numbers of tuples in R ⋈ S?

  1. A. min 40, max 120
  2. B. min 0, max 4800
  3. C. min 0, max 40
  4. D. min 120, max 120

Correct answer: B. min 0, max 4800

With no keys, all tuples might share one B value, giving 120 × 40 = 4800; or no values match, giving 0.

More DBMS and SQL questions

Exams that ask this topic