show databases;列出所有数据库create database <database-name>;新建一个数据库drop database test;删除一个数据库use test;切换数据库show tables;查看当前数据库中的所有表desc <table>;查看表结构show create table students;查看创建表的 SQL 语句drop table students;删除表,创建表用create table语句alter table students add column birth carchar(10) not null;在表中新增一列birthalter table students change column birth birthday varchar(20) not null;修改birth列alter table students drop column birthday;删除列
