| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | [role="xpack"][testenv="basic"][[sql-syntax-show-tables]]=== SHOW TABLES.Synopsis[source, sql]----SHOW TABLES [ table identifier<1> | [ LIKE pattern<2> ] ]?----<1> single table identifier or double quoted es multi index<2> SQL LIKE patternSee <<sql-index-patterns, index patterns>> for more information aboutpatterns..DescriptionList the tables available to the current user and their type.["source","sql",subs="attributes,callouts,macros"]----include-tagged::{sql-specs}/docs/docs.csv-spec[showTables]----Match multiple indices by using {es} <<multi-index,multi index syntax>>notation:["source","sql",subs="attributes,callouts,macros"]----include-tagged::{sql-specs}/docs/docs.csv-spec[showTablesEsMultiIndex]----One can also use the `LIKE` clause to restrict the list of names to the given pattern.The pattern can be an exact match:["source","sql",subs="attributes,callouts,macros"]----include-tagged::{sql-specs}/docs/docs.csv-spec[showTablesLikeExact]----Multiple chars:["source","sql",subs="attributes,callouts,macros"]----include-tagged::{sql-specs}/docs/docs.csv-spec[showTablesLikeWildcard]----A single char:["source","sql",subs="attributes,callouts,macros"]----include-tagged::{sql-specs}/docs/docs.csv-spec[showTablesLikeOneChar]----Or a mixture of single and multiple chars:["source","sql",subs="attributes,callouts,macros"]----include-tagged::{sql-specs}/docs/docs.csv-spec[showTablesLikeMixed]----
 |