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

Discussion

MySQL surrogate keys are given the property AUTO_INCREMENT.

  • A.True
  • B.False

Answer: A

Correct answer: True

AUTO_INCREMENT on an integer column makes MySQL supply the next value automatically on each insert, which is precisely what a surrogate key needs: a unique value with no meaning, generated by the system rather than by the application.

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

Post your comment

Please log in or register to post a comment.