Documentation Home
MySQL 9.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.4 Reference Manual  / ...  / INFORMATION_SCHEMA Tables  / INFORMATION_SCHEMA General Tables  /  The INFORMATION_SCHEMA VIEW_TABLE_USAGE Table

28.3.55 The INFORMATION_SCHEMA VIEW_TABLE_USAGE Table

TheVIEW_TABLE_USAGE table provides access to information about tables and views used in view definitions.

You can see information only for views for which you have some privilege, and only for tables for which you have some privilege.

TheVIEW_TABLE_USAGE table has these columns:

  • VIEW_CATALOG

    The name of the catalog to which the view belongs. This value is alwaysdef.

  • VIEW_SCHEMA

    The name of the schema (database) to which the view belongs.

  • VIEW_NAME

    The name of the view.

  • TABLE_CATALOG

    The name of the catalog to which the table or view used in the view definition belongs. This value is alwaysdef.

  • TABLE_SCHEMA

    The name of the schema (database) to which the table or view used in the view definition belongs.

  • TABLE_NAME

    The name of the table or view used in the view definition.