删除索引

删除索引
    1.第一种方式
    ALTER TABLE 表名 DROP INDEX 索引名
    查询表中的索引名
    show creat table book
    删除字段
    alter table book drop index indexone
    2. 第二中方法
    DROP INDEX 索引名 ON 表名;

 

posted @ 2021-12-25 04:36  solomon123  阅读(4610)  评论(0编辑  收藏  举报