Incorrect table definition; there can be only one auto column and it must be defined as a key
翻译:不正确的表定义,只能有一个自增列和它必须被定义为一个键
那么我们建表的时候将自增列要设置成主键咯,多个主键的时候,我们应该将自增列放在首位,如:primary key(AUTO_COL,..........)
这样子就好啦。
Incorrect table definition; there can be only one auto column and it must be defined as a key
翻译:不正确的表定义,只能有一个自增列和它必须被定义为一个键
那么我们建表的时候将自增列要设置成主键咯,多个主键的时候,我们应该将自增列放在首位,如:primary key(AUTO_COL,..........)
这样子就好啦。