618 views
0 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 1 vote
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.
Position:
Show:

Related questions

2 2 votes
3 3 answers
11.0k
11.0k views
rahul sharma 5 asked Dec 17, 2017
10,964 views
select the correct statement from the following on referential integritySelect one:a. referential integrity constraints check whether the primary key, values are uniqueb....
0 0 votes
1 1 answer
1.9k
1.9k views
gateexplore asked Jun 30, 2023
1,856 views
Considering the following schema, create the appropriate tables and insert at least 5 records:AUTHOR(author-id,name, city,country)PUBLISHER (publisher-id, name,city, coun...
3 3 votes
0 0 answers
355
355 views
ramcharan2410 asked Dec 2, 2024
355 views
In the case of referential integrity in RDBMS, there are solutions for INSERT, DELETE, and UPDATE operation problems on Referenced Table (or) Base Table like ON DELETE CA...