給MySQL表格添加一個自動增加的主鍵列

轉載自  http://www.linuxidc.com/Linux/2012-02/55534.htmlinux   alter table `表格名` add column `列名` int not null auto_increment primary key comment '主鍵' first;spa
相關文章
相關標籤/搜索