输入banner图图片脚本导航/分类

mysql索引之普通索引

2,sql :

alter table temp2 add index title (title);

3,sql :

  create index title on temp2(title);

删除索引

  drop index title on temp2;

查看索引

  show index from temp2;

 

普通索引的使用方式,一般在对筛选条件比较多的where后的字段建立索引,但是索引会影响数据的插入更新速度,

mysql索引之普通索引

标签: