1.

There can be more than one column per table with the AUTO_INCREMENT attribute.(a) True(b) FalseI got this question at a job interview.Question is from Using Perl DBI in Web Applications topic in division MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The correct choice is (b) False

Easy explanation: In MySQL, there can only be one column per table with the AUTO_INCREMENT ATTRIBUTE. It should ALSO have an integer data type. The AUTO_INCREMENT is also allowed for floating POINT types.



Discussion

No Comment Found

Related InterviewSolutions