Machine-translated by Google. Questions are authored in English.
Top

Discussion

In a 1:1 relationship, the foreign key is placed in:

  • A.either table without specifying parent and child tables.
  • B.
    the parent table.
  • C.the child table.
  • D.
    either the parent table or the child table.

Answer: A

Correct answer: either table without specifying parent and child tables.

In a one-to-one relationship each row on either side matches at most one on the other, so a single foreign key column serves whichever table it is placed in. There is no many side to force the choice, and the decision is made on practical grounds - which table is more often queried, or which participation is optional.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.