摘要:
如何实现MySQL设置自增字段是许多人都问到的问题,下面就为您介绍MySQL设置自增字段的相关知识,希望对您学习MySQL数据库能有所启迪。MySQL设置自增字段的相关语句:alter table album change ALBUM_ID ALBUM_ID bigint not null auto_increment;alter table album auto_increment=1;创建:mysql>create table cc(id int auto_increment,name varchar(20),primary key(id));修改:mysql> alter t 阅读全文