MySQL 9.6 Reference Manual Including MySQL NDB Cluster 9.6
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”.