创建视图

create view 视图名称 as 查询语句

删除视图

drop view 视图名称

修改视图

alter view 视图名称 as 新查询语句

查询视图

查视图的详情结构

desc 视图名称

查视图的创建语句

show create view 视图名称