Spec-Zone .ru
спецификации, руководства, описания, API
|
Views (including updatable views) are available in MySQL Server 5.6. Views are stored queries that when invoked produce a result set. A view acts as a virtual table.
To use views if you have upgraded to MySQL 5.6 from an older release that did not support views, you should upgrade your grant tables so that they contain the view-related privileges. See Section 4.4.7, "mysql_upgrade — Check and Upgrade MySQL Tables".
The following discussion describes the syntax for creating and dropping views, and shows some examples of how to use them.
You may find the
For answers to some commonly asked questions regarding views in MySQL, see Section B.6, "MySQL 5.6 FAQ: Views".
There are some restrictions on the use of views; see Section E.5, "Restrictions on Views".