Multiple choice

Which of the following statements is/are true?

P: Foreign key cannot have a null value. Q: Primary key and foreign key can exist in the 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

Statement Q is correct because primary key and 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.