{"id":7968,"date":"2019-08-28T21:34:19","date_gmt":"2019-08-29T04:34:19","guid":{"rendered":"http:\/\/www.mysqltutorial.org\/?page_id=7968"},"modified":"2024-01-03T19:14:00","modified_gmt":"2024-01-04T02:14:00","slug":"mysql-show-view","status":"publish","type":"page","link":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/","title":{"rendered":"MySQL Show View"},"content":{"rendered":"\n<p><strong>Summary<\/strong>: in this tutorial, you will learn how to show all views in a MySQL database using the <code>SHOW FULL TABLE<\/code> statement or by querying information from the data dictionary.<\/p>\n\n\n\n<p class=\"note\">The <code>SHOW FULL TABLES<\/code> returns a list of views in a specified database. If you want to display the statement that creates the view, check out the <a href=\"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-create-view\/\">SHOW CREATE VIEW<\/a> statement tutorial.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Show View&nbsp;&#8211; Using SHOW FULL TABLES statement<\/h2>\n\n\n\n<p>MySQL treats the views as tables with the type <code>'VIEW'<\/code>. Therefore, you can use the <code><a href=\"https:\/\/www.mysqltutorial.org\/mysql-administration\/mysql-show-tables\/\">SHOW FULL TABLES<\/a><\/code> statement to display all <a href=\"https:\/\/www.mysqltutorial.org\/mysql-views\/\">views<\/a> in the current database as follows:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> <span class=\"hljs-keyword\">FULL<\/span> <span class=\"hljs-keyword\">TABLES<\/span> \n<span class=\"hljs-keyword\">WHERE<\/span> table_type = <span class=\"hljs-string\">'VIEW'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Because the <code>SHOW FULL TABLES<\/code> statement returns both tables and views, we need to add a <code><a href=\"https:\/\/www.mysqltutorial.org\/mysql-basics\/mysql-where\/\">WHERE<\/a><\/code> clause to obtain views only.<\/p>\n\n\n\n<p>If you want to show all views in a specific database,  you can use the <code>FROM<\/code> or <code>IN<\/code> clause in the <code>SHOW FULL TABLES<\/code> statement:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> <span class=\"hljs-keyword\">FULL<\/span> <span class=\"hljs-keyword\">TABLES<\/span>\n&#91;{<span class=\"hljs-keyword\">FROM<\/span> | <span class=\"hljs-keyword\">IN<\/span> } database_name]\n<span class=\"hljs-keyword\">WHERE<\/span> table_type = <span class=\"hljs-string\">'VIEW'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>In this syntax, you specify a database name from which you want to obtain the views after the <code>FROM<\/code> or <code>IN<\/code> clause.<\/p>\n\n\n\n<p>For example, the following statement shows all views from the <code>sys<\/code> database:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> <span class=\"hljs-keyword\">FULL<\/span> <span class=\"hljs-keyword\">TABLES<\/span> <span class=\"hljs-keyword\">IN<\/span> <span class=\"hljs-keyword\">sys<\/span> \n<span class=\"hljs-keyword\">WHERE<\/span> table_type=<span class=\"hljs-string\">'VIEW'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"286\" height=\"236\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png\" alt=\"\" class=\"wp-image-7971\" srcset=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png 286w, https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys-200x165.png 200w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/figure>\n\n\n\n<p>If you want to find views that match a pattern, you can use the <code>LIKE<\/code> clause as follows:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> <span class=\"hljs-keyword\">FULL<\/span> <span class=\"hljs-keyword\">TABLES<\/span>\n&#91;{<span class=\"hljs-keyword\">FROM<\/span> | <span class=\"hljs-keyword\">IN<\/span> } database_name]\n<span class=\"hljs-keyword\">LIKE<\/span> pattern;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>For example, the following statement uses the <code>LIKE<\/code> clause to find all views from the <code>sys<\/code> database, whose names start with the <code>waits<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> <span class=\"hljs-keyword\">FULL<\/span> <span class=\"hljs-keyword\">TABLES<\/span> \n<span class=\"hljs-keyword\">FROM<\/span> <span class=\"hljs-keyword\">sys<\/span>\n<span class=\"hljs-keyword\">LIKE<\/span> <span class=\"hljs-string\">'waits%'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Here is the output:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"235\" height=\"76\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-like.png\" alt=\"mysql show view\" class=\"wp-image-7969\" srcset=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-like.png 235w, https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-like-200x65.png 200w\" sizes=\"auto, (max-width: 235px) 100vw, 235px\" \/><\/figure>\n\n\n\n<p class=\"note\">Note that the <code>SHOW TABLES<\/code> statement returns only the views that you have the privilege to access.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Show View &#8211;&nbsp; Using INFORMATION_SCHEMA database<\/h2>\n\n\n\n<p>The <code>information_schema<\/code> database provides access to MySQL database metadata such as databases, tables, data types of columns, or privileges. The information schema is also known as a database dictionary or system catalog.<\/p>\n\n\n\n<p>To show the views of a database, you use the <code>tables<\/code> table from the <code>information_schema<\/code> database:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span> * \n<span class=\"hljs-keyword\">FROM<\/span> information_schema.tables;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Here&#8217;s the partial output:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"190\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view.png\" alt=\"\" class=\"wp-image-7970\" srcset=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view.png 552w, https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-200x69.png 200w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/figure>\n\n\n\n<p>The columns that are relevant to the views are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <code>table_schema<\/code> column stores the schema or database of the view (or table).<\/li>\n\n\n\n<li>The <code>table_name<\/code> column stores the name of the view (or table).<\/li>\n\n\n\n<li>The <code>table_type<\/code> column stores the type of tables: <code>BASE TABLE<\/code> for a table, <code>VIEW<\/code> for a view, or <code>SYSTEM VIEW<\/code> for an <code>INFORMATION_SCHEMA<\/code> table.<\/li>\n<\/ul>\n\n\n\n<p>For example, this query returns all views from the <code>classicmodels<\/code> database:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span> \n    table_name view_name\n<span class=\"hljs-keyword\">FROM<\/span> \n    information_schema.tables \n<span class=\"hljs-keyword\">WHERE<\/span> \n    table_type   = <span class=\"hljs-string\">'VIEW'<\/span> <span class=\"hljs-keyword\">AND<\/span> \n    table_schema = <span class=\"hljs-string\">'classicmodels'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>To find the views that match a pattern, you use the <code>table_name<\/code> column. For example, this query finds all views whose names start with <code>customer<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span> \n    table_name view_name\n<span class=\"hljs-keyword\">FROM<\/span> \n    information_schema.tables \n<span class=\"hljs-keyword\">WHERE<\/span> \n    table_type   = <span class=\"hljs-string\">'VIEW'<\/span> <span class=\"hljs-keyword\">AND<\/span> \n    table_schema = <span class=\"hljs-string\">'classicmodels'<\/span> <span class=\"hljs-keyword\">AND<\/span>\n    table_name   <span class=\"hljs-keyword\">LIKE<\/span> <span class=\"hljs-string\">'customer%'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the <code>SHOW FULL TABLE<\/code> with the <code>type_type<\/code> <code>VIEW<\/code> to return all views from the current database.<\/li>\n\n\n\n<li>Use the <code>SHOW FULL TABLE FROM<\/code> (or <code>IN<\/code>) statement to get all views in a specified database.<\/li>\n\n\n\n<li>Add the <code>LIKE<\/code> clause to the <code>SHOW FULL TABLE<\/code> statement to get the views that match a pattern.<\/li>\n\n\n\n<li>Query data from the table <code>information_schema.tables<\/code> to get the views in a database.<\/li>\n<\/ul>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful? <\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"7968\"\n\t\t\t\tdata-post-url=\"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/\"\n\t\t\t\tdata-post-title=\"MySQL Show View\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"7968\"\n\t\t\t\tdata-post-url=\"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/\"\n\t\t\t\tdata-post-title=\"MySQL Show View\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to show all views in a MySQL database using the SHOW FULL TABLE statement or by querying information from the data dictionary.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":555,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7968","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MySQL Show View<\/title>\n<meta name=\"description\" content=\"Learn how to show all views in a MySQL Database by using the SHOW FULL TABLE statement or querying information from the data dictionary.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Show View\" \/>\n<meta property=\"og:description\" content=\"Learn how to show all views in a MySQL Database by using the SHOW FULL TABLE statement or querying information from the data dictionary.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/\" \/>\n<meta property=\"og:site_name\" content=\"MySQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-04T02:14:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/\",\"name\":\"MySQL Show View\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/mysql-show-view-from-sys.png\",\"datePublished\":\"2019-08-29T04:34:19+00:00\",\"dateModified\":\"2024-01-04T02:14:00+00:00\",\"description\":\"Learn how to show all views in a MySQL Database by using the SHOW FULL TABLE statement or querying information from the data dictionary.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/mysql-show-view-from-sys.png\",\"contentUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/mysql-show-view-from-sys.png\",\"width\":286,\"height\":236},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/mysql-show-view\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Views\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-views\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MySQL Show View\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\",\"name\":\"MySQL Tutorial\",\"description\":\"A comprehensive MySQL Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mysqltutorial.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL Show View","description":"Learn how to show all views in a MySQL Database by using the SHOW FULL TABLE statement or querying information from the data dictionary.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/","og_locale":"en_US","og_type":"article","og_title":"MySQL Show View","og_description":"Learn how to show all views in a MySQL Database by using the SHOW FULL TABLE statement or querying information from the data dictionary.","og_url":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/","og_site_name":"MySQL Tutorial","article_modified_time":"2024-01-04T02:14:00+00:00","og_image":[{"url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/","url":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/","name":"MySQL Show View","isPartOf":{"@id":"https:\/\/www.mysqltutorial.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/#primaryimage"},"image":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png","datePublished":"2019-08-29T04:34:19+00:00","dateModified":"2024-01-04T02:14:00+00:00","description":"Learn how to show all views in a MySQL Database by using the SHOW FULL TABLE statement or querying information from the data dictionary.","breadcrumb":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/#primaryimage","url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png","contentUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/08\/mysql-show-view-from-sys.png","width":286,"height":236},{"@type":"BreadcrumbList","@id":"https:\/\/www.mysqltutorial.org\/mysql-views\/mysql-show-view\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mysqltutorial.org\/"},{"@type":"ListItem","position":2,"name":"MySQL Views","item":"https:\/\/www.mysqltutorial.org\/mysql-views\/"},{"@type":"ListItem","position":3,"name":"MySQL Show View"}]},{"@type":"WebSite","@id":"https:\/\/www.mysqltutorial.org\/#website","url":"https:\/\/www.mysqltutorial.org\/","name":"MySQL Tutorial","description":"A comprehensive MySQL Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mysqltutorial.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/comments?post=7968"}],"version-history":[{"count":5,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7968\/revisions"}],"predecessor-version":[{"id":14106,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7968\/revisions\/14106"}],"up":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/555"}],"wp:attachment":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/media?parent=7968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}