数据库
创建:
create database 数据库名 default character set 字符集 collate 校对规则
修改:
alter database 数据库名 default character set 字符集 collate 校对规则
删除:
drop database 数据库名
表
创建:
create table 表名(
字段1 字段类型,
字段2 字段类型
)
增加字段:
alter table 表名 add column 字段 字段类型
删除字段:
alter table 表名 drop 字段名
删除表格:
drop table 表名
复制表格:
create table 新表 like 旧表