1.

There can be only one column per table with the AUTO_INCREMENT attribute.(a) True(b) FalseI had been asked this question in an online interview.Question is from Working with Sequences topic in chapter Data Types of MySQL

Answer»

Right answer is (a) True

Best 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