mysql修改联合主键

参考 https://blog.csdn.net/BockSong/article/details/80933477.net

 

alter table TABNAME drop primary key;blog

alter table TABNAME add primary key(another_col,...);table

 

alter table TABNAME 
modify field1 varchar(30) default NULL;im

相关文章
相关标签/搜索