create table tab_test{
id int auto_increment primary key,
name varchar(10),
age tinyint
}charset = gbk,
engine = MyIsam,
auto_increment = 100 ;
#插入值
insert into tab_test(id , name , age) values( null , '张三' ,20);
#修改表
alert table tab_test add column email varchar(50);
alert table tab_test add index(age); /*添加普通索引*/