Computer Science EngineeringVery hard

R(A,B) has 20 tuples and S(B,C) has 30 tuples. B is the primary key of S and a foreign key in R. What is the maximum number of tuples in the natural join R join S?

  1. A. 30
  2. B. 20
  3. C. 50
  4. D. 600

Correct answer: B. 20

Each tuple of R matches exactly one tuple of S via the key, so the join has at most 20 tuples.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic