
需要学会以下的知识点




启动方式





show databases; (查询数据库)
create database test; (创建数据库)
create database if not exists test; (判断是否存在test数据库,没有才创建)
create database itheima default charset utf8mb4;
drop database if exists test; (删除test数据库,如果存在的话)
use students; (使用那个数据库)

show tables; (查询所有表)


创建表

查看表

查看表结构

查询创建表机构的语句