直接学习:https://edu.csdn.net/course/play/27328/362532
索引的基本使用
#1、什么是索引?索引是一种特殊的数据结构,类似于图书的目录,它能极大的提升数据库查询的效率。
#2、常见的索引种类:
第五章:索引的使用-索引的基本使用
#3、示例代码如下:
show index from employee\G;
create index index_name on employee (name);
show index from employee\G;
explain select * from employee where name =‘柳锋’;
explain select * from employee where name like ‘柳锋’;
drop index index_name on employee;
show index from employee\G;

相关文章:

  • 2021-10-07
  • 2021-11-21
  • 2021-11-19
  • 2022-12-23
  • 2021-09-28
猜你喜欢
  • 2022-02-07
  • 2022-01-18
  • 2021-06-28
  • 2022-12-23
  • 2021-07-19
  • 2021-06-08
相关资源
相似解决方案