CREATE TABLE table( id int(20) not null auto_increment primary key, //auto_increment当为空时自动补全,注意,类型应该定义为int,primary key表示当前是主键 name varchar(20) not null, size int(100) not null, path varchar(100) not null, uploadTime varchar(100) not null, userId varc…