Metadata about views can be obtained as follows:
Query the VIEWS table of the
INFORMATION_SCHEMA database. See
Section 21.28, “The INFORMATION_SCHEMA VIEWS Table”.
Use the SHOW CREATE VIEW
statement. See Section 13.7.5.14, “SHOW CREATE VIEW Syntax”.