Home » MYSQL » Using Sequences » Question
  1. The number of rows in the table is 10. Suppose all rows are deleted. The new row starts with sequence number _____________.
    1. 101
    2. 100
    3. 11
    4. 1
    5. None of these
Correct Option: D

When the row containing the largest value in an AUTO_INCREMENT column is deleted, that value is reused the next time a new value is generated. In this case the sequence number is 1.



Your comments will be displayed only after manual approval.