Multiple choice

P : Foreign key cannot have a null value. Q : Primary key and foreign key can exist in same relation. R : Foreign key relation is known as target relation.

Which of the given statements are true?

  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 correct choice.