'''MySql数据表操作命令
1.查看当前数据库中所有的表:
show tables;
2.创建表:
create table 表名(列举每个字段的类型,字段之间用逗号隔开)
说明:auto_increment 表示自增长 、 primary key 表示主键 、 not null 表示不为空
示例:create table student(id int auto_increment primary key,name varchar(20) not null, age int not null, sex bit default 1)
3.删除当前数据库中的表:
drop table 表名;
4.查看表结构:
desc 表名;
5.查看建表语句:
show create table 表名;
6.重命名表名:
rename table 原表名 to 新表名;
7.修改表:(不建议使用)
alter table 表名 add|change|drop 列名 类型 (默认值);
示例:alter table person add isDelete bit default 0;
'''