1:创建表(表结构)
create table student(
id int(10) primary key auto_increment,
name varchar(10) not null,
age int(4) default 11,
address varchar(200),
iphone int(11) unique
);
2:查看数据库中的所有表
show tables;
3:修改表名为student
rename table student to student1;
标签:11,varchar,int,数据库,student,table,操作 From: https://www.cnblogs.com/vip01/p/17052737.html