MySQL 8.4 Release Notes
27.5 使用视图
MySQL supports views, including updatable views. Views are stored queries that when invoked produce a result set. A view acts as a virtual table.
The following discussion describes the syntax for creating and dropping views, and shows some examples of how to use them.
-
You may find the MySQL User Forums helpful when working with views.
-
For answers to some commonly asked questions regarding views in MySQL, see Section A.6, “MySQL 8.4 FAQ: Views”.
-
There are some restrictions on the use of views; see Section 27.9, “Restrictions on Views”.