doc/user/content/sql/show-tables.md
SHOW TABLES returns a list of all tables available in Materialize.
SHOW TABLES [FROM <schema_name>];
| Syntax element | Description |
|---|---|
| FROM <schema_name> | If specified, only show tables from the specified schema. Defaults to first resolvable schema in the search path. For available schemas, see SHOW SCHEMAS. |
SHOW TABLES's output is a table with one column, name.
SHOW TABLES;
name
----------------
my_table
my_other_table
SHOW SCHEMAS;
name
--------
public
SHOW TABLES FROM public;
name
----------------
my_table
my_other_table