首页 相关文章 如何创建MySQL5的视图

如何创建MySQL5的视图

基本语法:
CREATE [OR REPLACE] [ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]
VIEW view_name [(column_list)]
AS select_statement
[WITH [CASCADED | LOCAL] CHECK OPTION]

This statement creates a new view, or replaces an existing one if the OR REPLACE clause is given. The select_statement is a SELECT statement that provides the definition of the view. The statement can select from base tables or other views.

This statement requires the CREATE VIEW privilege for the view, and some privilege for each column selected...[ 查看全文 ]

2016-02-19 标签:

如何创建MySQL5的视图的相关文章

手机页面
收藏网站 回到头部