一、索引的定义及作用

1.

 

二、索引的创建及删除

1.1查看表的索引

show index from tblname;

1.2.创建索引

1.22创建普通索引

ALTER TABLE `table_name` ADD INDEX index_name ( `column` )

1.23创建全文索引

ALTER TABLE `table_name` ADD FULLTEXT ( `column`)

1.24创建多列索引

ALTER TABLE `table_name` ADD INDEX index_name ( `column1`, `column2`, `column3` )

1.3索引的命名

 

相关文章:

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