- A+
所属分类:技术教程
本文收集自网络,
创建主键索引
方法一:
create table biao (id int auto_increment primary key
)
方法二:
create table b (id int auto_increment,
primary key(id)
)
创建普通索引
方法一:
create table t3(id int auto_increment primary key,
name varchar(32) not null default '',
index u_name(name)
)charset=utf8;
方法二:
create index ix_name on biao(name);
- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-