mysql数据库索引操作

来源:互联网 发布:淘宝外穿铅笔裤 编辑:程序博客网 时间:2024/06/05 14:16

1.查看表中索引

show index from tablename

2.对表创建索引

create index index_name on table_name (column1, column2)

3.删除索引
drop index index_name on talbe_name

0 0
原创粉丝点击