MySQL之:视图

2020-03-20  本文已影响0人  Simon_Ye

视图

创建方法:

CREATE VIEW view_name [(column_list)] AS select_statement [WITH [CASCADED | LOCAL] CHECK OPTION]

查看视图定义:

SHOW CREATE VIEW view_name

删除视图:

DROP VIEW [IF EXISTS] view_name [,view_name]... [RESTRICT | CASCADE]

上一篇下一篇

猜你喜欢

热点阅读