mysql创建索引 2020/09/24 | mysql | 评论(0) | 阅读(39) 索引可以加快mysql 查询速度,那么怎么创建索引呢 创建索引: alter table c_table add index (tb1,tb2); --把tb1,tb2添加索引 alter table c_table add unique index_name(c_n); alter table c_table add primary key(sid); 删除索引: alter table c_table drop index c_n1; 更改列信息: alter table t...