- 博客(1)
- 收藏
- 关注
原创 关于索引的语法
关于索引的语法 1,在创建表的时候添加索引 例如:创建一个表mytable(id,username) create table mytable( id int not NULL, username VARCHAR(16), index myindex(username(16)) ); myindex是索引的名字(自己设置的) 2,查看索引 show index from mytable; 3,删除索引 drop index muindex on mytable; 4,创建表之后再去添加索引 create
2021-03-09 10:35:17 199
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人