类型
Varchar字符型
int整数型
year年
创建表
create table 表名(id int primary key auto_increment not null)
创建列
insert into 表名(列名1,列名2,列名3…)values(值1,值2,值3,…)
添加数据
update 表名 set 列名1=新值1,列名2=新值2,列名3=新值3 where 列名n = 条件
删除
delete from 表名 where 列名n=条件
查找
select * from 表名 where 列名n=条件(like‘%xxx%’)模糊查找