show-tables.md 1.1 KB


title: "SHOW TABLES" description: "SHOW TABLES returns a list of all tables available in Materialize." menu: main:

parent: commands

SHOW TABLES returns a list of all tables available in Materialize.

Syntax

SHOW TABLES [FROM <schema_name>]

Details

Output format

SHOW TABLES's output is a table with one column, name.

Examples

Show user-created tables

SHOW TABLES;
 name
----------------
 my_table
 my_other_table

Show tables from specified schema

SHOW SCHEMAS;
  name
--------
 public
SHOW TABLES FROM public;
 name
----------------
 my_table
 my_other_table

Related pages

Option Description
FROM If specified, only show tables from the specified schema. Defaults to first resolvable schema in the search path. For available schemas, see SHOW SCHEMAS.