MySQL索引,视图,存储过程,触发器
索引
1.普通索引
alter table 表名 add index 索引名(列);
2.唯一索引
alter table 表名 add unique index 索引名(列);
3.单列索引
alter table 表名 add index 索引名(列);
4.组合索引
alter table 表名 add index 索引名(列1,列2,列3);
5.全文索引(只为char、varchar、text列做全文索引)
alter t...
原创
2021-11-09 12:01:21 ·
738 阅读 ·
0 评论