> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOW TABLES IN CATALOG

Lists the tables within a schema of an existing
[catalog](https://docs.kinetica.com/content/sql/ddl/create-catalog.md#sql-create-catalog), as its external source reports
them.

```sql title="SHOW TABLES IN CATALOG Syntax" theme={null}
SHOW TABLES <IN | FROM> <catalog name>[.[<database name>.]<schema name>]
```

> [!NOTE]
>
> This statement queries the external source directly, and will fail
> if it is unreachable.  It requires `READ` access on the *catalog* and
> `CONNECT` access on its *data source*; see
> [GRANT Catalog Permission](https://docs.kinetica.com/content/sql/security/grant-catalog-permission.md#sql-security-priv-mgmt-catalog-grant).

## Parameters

> [accordion] IN / FROM
>
> Interchangeable keywords preceding the *catalog* name.

> [accordion] \<catalog name>
>
> Name of the existing *catalog* whose tables will be listed.

> [accordion] \<database name>
>
> Database within the *catalog* holding the schema whose tables will be
> listed.  If omitted, the schema is looked up in the *catalog's* default
> database.

> [accordion] \<schema name>
>
> Schema within the *catalog* whose tables will be listed.  If omitted, the
> *catalog's* `SCHEMA` option is used--see
> [Catalog Options](https://docs.kinetica.com/content/sql/ddl/create-catalog.md#sql-catalog-opts).

The tables listed depend on the type of *catalog*:

* A JDBC *catalog* over a source with no schemas, such as *MySQL*, takes a
  database name in place of the schema name.
* An *Apache Iceberg* *catalog* has namespaces instead of schemas, and lists
  the tables in the one namespace given (e.g., `sales.eu`).

## Response

A four-column result set of `DATABASE_NAME`, `SCHEMA_NAME`,
`TABLE_NAME`, & `TABLE_TYPE`.

## Examples

To list the tables within a schema of a JDBC *catalog*:

```sql SHOW TABLES IN CATALOG Example theme={null}
SHOW TABLES IN jdbc_cat.example_fed
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.