1.

By default, the AUTO_INCREMENT sequences begin at __________(a) 0(b) 1(c) -1(d) 2I had been asked this question during a job interview.My doubt is from Using Perl DBI in Web Applications in section MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The correct answer is (b) 1

Explanation: The AUTO_INCREMENT column attribute PROVIDES UNIQUE numbers for column identification. AUTO_INCREMENT SEQUENCES normally begin at 1 and increase monotonically like 1, 2, 3, and so on.



Discussion

No Comment Found

Related InterviewSolutions