283 views
0 votes
0 votes

Question:  If we have two relation R(A,B,C) and S(D,E,F),where A and D are primary key and attribute C is working as Foreign key and referring to D.So is it possible to C have  NULL in some rows??

Reference:: https://gateoverflow.in/2151/Gate-cse-2012-question-43?state=showcomments-2377&show=2377#a2377

1 Answer

1 votes
1 votes
Yes it is possible for C have NULL in some rows. Foreign key value can be either NULL or some value from referenced Attribute D.

Related questions

0 votes
0 votes
1 answer
3
ankitgupta.1729 asked Dec 16, 2017
1,283 views
Consider the join of a relation R with a relation S. If R has 100 tuples and S has 9 tuples then the maximum and minimum sizes of the join respectively under referential ...