1.创建普通的视图
CREATE [TEMP | TEMPORARY] VIEW view_name AS SELECT column1, column2.....FROM table_name WHERE [condition];
2.创建访问其他服务器或库的视图