edited by
639 views
1 votes
1 votes

Consider 3 relation R(A, B, C) WITH 20 TUPLES  and S(A,D , E) With 30 tuples and T(D,F,G ) with 40 tuples.

What is the max no. of tuples in  natural joint  of R S T

Plz explain

edited by

1 Answer

2 votes
2 votes

COnsider the data values as follows:

R1                        R2                         R3

--------------------------------------------------------------------------

A                   A   D                           D

-------------------------------------------------------------------------

1                   1    1                            1

.                    .     .                             .

.                    .     .                             .                            

20                 20   20                           .

                     1     21                          .

                     .     .                             .

                     .     .                             .

                     10  30                           40

SO, R join S will give max of 30 tuples and that join with T will give max of 30 tuples only because T contains unique tuples.

Related questions

0 votes
0 votes
1 answer
3
phaniphani asked Nov 16, 2023
188 views
is it allowed in a B+ tree, while deletion to leave behind a key in internal nodes while deleting it from the leaf ?