edited by
699 views
0 votes
0 votes
Consider the relationP(A,B,C),Q(C,D,E),R(E,F) having tuples 200, 300 and 100 respectively. The number of tuples in relation P join Q join R are ______.
edited by

1 Answer

3 votes
3 votes

IF question is asked for maximum number of tuples  and key constraintes can be imagined then the solution is as follows .
P and Q is related by C
Q and R is related by E =>  min (300,100) = 100
P and ( Qand R ) => min(200,100) = 100
Only 100 rows will be outputed .

Note : Natural Join Return min of two coloums if refertial integrity contraints holds good.
Given Question is ambigous without proper details

Reference : https://gateoverflow.in/2344/gate2010_43

Related questions

1 votes
1 votes
1 answer
3
Shubhanshu asked Dec 24, 2018
1,307 views
According to me it should be – “Retrieve the names of all students with a lower rank, than all students with age < 18 ”
0 votes
0 votes
1 answer
4
Na462 asked Jun 29, 2018
852 views