InterviewSolution
Saved Bookmarks
| 1. |
There cannot be more than one column per table with the AUTO_INCREMENT attribute.(a) True(b) FalseI got this question by my college professor while I was bunking the class.The origin of the question is Functions in portion Data Type Reference, Operators and Functions of MySQL |
|
Answer» CORRECT OPTION is (a) True To explain: 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. |
|