Forum Moderators: coopster
There can be only one AUTO_INCREMENT column per table, it must be indexed, and it cannot have a DEFAULT value.
:
For MyISAM and BDB tables, you can specify an AUTO_INCREMENT secondary column in a multiple-column key. See Section 3.6.9, Using AUTO_INCREMENT.