1,041 views
1 votes
1 votes

R1(p,q,r)  and  R2(r,s,t) with the primary key P and R respectively.the relation R1 contain 200 tuple and R2 contain 250 tuple then minimum and maximum size find right outer join is........

2 Answers

1 votes
1 votes
Right outer join says that atleast all the tupples of right table should come. i think the minimum and max here will be 250 only. because first we will perform the natural join and take all right table tupples . R is the primary key of relation so natural join on both the table will result in 200 tupples but we have to take all the remaining right into consideration so it should be 250.
1 votes
1 votes
It will have few conditions:

For : R1 right_outer R2

Case-1: If each rows of R1 get only one matched row of R2 then result will be :250( bcz of right outer join)

Case-2: If rows of R1 doesn't get any matched row in R2 then result will be :250( bcz of right outer join)

For : R2 right_outer R1

Case-1: 200

Case-2: 200
edited by

Related questions

3 votes
3 votes
2 answers
1
2 votes
2 votes
2 answers
2
iarnav asked Mar 30, 2018
1,120 views
The minimum number of comparisons required to find the minimum and the maximum of 101 numbers is ________.When n is even then it's relatively easy, but how to deal with n...
0 votes
0 votes
1 answer
3
Siddhi Viradiya asked Apr 3, 2016
1,822 views
i cannot understand the following explanation..how solution is (3/2)n-2???If n is a power of 2, then we can write T(n) as:T(n) = 2T(n/2) + 2After solving above recursion,...