Multiple choice

Which of the given statements is/are true? P : Foreign key cannot have a null value. Q : The primary key and foreign key can exist in a same relation. R : Foreign key relation is known as target relation.

  1. Q only

  2. P only

  3. Both P and Q

  4. Both P and R

  5. R only

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is true choice. Q statement is correct because the primary key and the foreign key can exist in the same relation. Moreover foreign key can refer to the primary key in the same relation.So, this is a correct choice.