I'm trying to finish quiz on Stanford website, it's part of mini course on relational algebra. It goes something like this:
Consider a relation R(A,B) with r tuples, all unique within R, and a relation S(B,C) with s tuples, all unique within S. Let t represent the number of tuples in R natural-join S. Which of the following triples of values (r,s,t) is possible?
1. (5,10,250)
2. (5,10,500)
3. (2,3,9)
4. (2,10,0)
Can someone tell me the right solution and explain why is it the right solution? Thanks.