标签:增加 first dex column sql modify index signed nbsp
1,将id列放在第一列
alter table cqc_xa.cqc_xa_diff_case modify id int unsigned auto_increment first;
2,增加自增id
alter table test.student add column indexxx int(14) primary key auto_increment after first;
3,修改表名
ALTER TABLE table_name RENAME TO new_table_name
标签:增加 first dex column sql modify index signed nbsp
原文地址:https://www.cnblogs.com/aixiao07/p/14471524.html