Mysql创建删除索引
1.查看某个表中的索引
show index from 表名
2.为某个表创建索引
alter table 表名 add index 索引名(列名) //此种方式创建一般的索引
alter table 表名 add unique 索引名(列名) //创建唯一索引
3.删除某个表的索引
drop index 索引名 on 表名
勤奋+方法+毅力,如果做到了,成功只是时间问题。
1.查看某个表中的索引
show index from 表名
2.为某个表创建索引
alter table 表名 add index 索引名(列名) //此种方式创建一般的索引
alter table 表名 add unique 索引名(列名) //创建唯一索引
3.删除某个表的索引
drop index 索引名 on 表名