Metadata about views can be obtained as follows:
Query the
VIEWS
table of theINFORMATION_SCHEMA
database. See Section 20.15, “TheINFORMATION_SCHEMA VIEWS
Table”.Use the
SHOW CREATE VIEW
statement. See Section 12.4.5.14, “SHOW CREATE VIEW
Syntax”.