use DB;
    -- 添加索引,index_type为索引名称,student为表名 type为列表
     ALTER TABLE `student` ADD INDEX index_type (`type`) 
   -- 删除索引,index_type为索引名称,student为表名
     drop index index_type on `student` ;

 

相关文章:

  • 2021-05-15
  • 2021-08-06
  • 2021-05-24
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
相关资源
相似解决方案