【MySQL】索引和事务!!

索引 索引的目的:提升数据库的性能,提升海量数据的查询速度。 索引的分类 1. 主键索引 2. 惟一索引 3. 普通索引 4. 全文索引web 建立索引的方式数据库 主键索引 1. 在建立表的同时直接在字段名后面加上primary keysession create table stu ( id int not null primary key, name varchar(20),
相关文章
相关标签/搜索