数据库_四大索引、聚焦、非聚焦详解

一. 四种索引(主键索引/普通索引/全文索引/唯一索引) 1.索引的添加  1.1主键索引 当一张表,把某个列设为主键的时候,则该列就是主键索引 [sql]  view plain  copy create table a(   id int primary key auto_increment,   name varchar(20) not null default ''   );   //这里
相关文章
相关标签/搜索