MySQL 9.5 Reference Manual Including MySQL NDB Cluster 9.5
To obtain metadata about views:
Query the VIEWS table of the
INFORMATION_SCHEMA database. See
Section 28.3.53, “The INFORMATION_SCHEMA VIEWS Table”.
Use the SHOW CREATE VIEW
statement. See Section 15.7.7.15, “SHOW CREATE VIEW Statement”.