SHOW TABLESedit

Synopsis:

SHOW TABLES
    [INCLUDE FROZEN]?   
    [table identifier | 
    [LIKE pattern ]]?   

Whether or not to include frozen indices

single table identifier or double quoted es multi index

SQL LIKE pattern

See index patterns for more information about patterns.

Description: List the tables available to the current user and their type.

SHOW TABLES;

 catalog       |     name      | type     |     kind
---------------+---------------+----------+---------------
integTest      |emp            |TABLE     |INDEX
integTest      |employees      |VIEW      |ALIAS
integTest      |library        |TABLE     |INDEX

Match multiple indices by using Elasticsearch multi-target syntax notation:

SHOW TABLES "*,-l*";

 catalog       |     name      | type     |     kind
---------------+---------------+----------+---------------
integTest      |emp            |TABLE     |INDEX
integTest      |employees      |VIEW      |ALIAS

One can also use the LIKE clause to restrict the list of names to the given pattern.

The pattern can be an exact match:

SHOW TABLES LIKE 'emp';

 catalog       |     name      | type     |     kind
---------------+---------------+----------+---------------
integTest      |emp            |TABLE     |INDEX

Multiple chars:

SHOW TABLES LIKE 'emp%';

 catalog       |     name      | type     |     kind
---------------+---------------+----------+---------------
integTest      |emp            |TABLE     |INDEX
integTest      |employees      |VIEW      |ALIAS

A single char:

SHOW TABLES LIKE 'em_';

 catalog       |     name      | type     |     kind
---------------+---------------+----------+---------------
integTest      |emp            |TABLE     |INDEX

Or a mixture of single and multiple chars:

SHOW TABLES LIKE '%em_';

 catalog       |     name      | type     |     kind
---------------+---------------+----------+---------------
integTest      |emp            |TABLE     |INDEX