content/influxdb3/cloud-dedicated/admin/tables/list.md
Use the Admin UI, the influxctl table list command,
the SHOW TABLES SQL statement,
or the SHOW MEASUREMENTS InfluxQL statement
to list tables in a database.
[!Note] With {{< product-name >}}, tables and measurements are synonymous.
{{< tabs-wrapper >}} {{% tabs %}} Admin UI influxctl SQL & InfluxQL {{% /tabs %}} {{% tab-content %}}
<!------------------------------- BEGIN ADMIN UI ------------------------------>The InfluxDB Cloud Dedicated administrative UI includes a portal for managing tables. You can view the list of tables associated with a database and their details.
{{< admin-ui-access >}}
{{< img-hd src="/img/influxdb3/cloud-dedicated-admin-ui-tables.png" alt="InfluxDB Cloud Dedicated Admin UI tables list" />}}
Use the Tables page to manage tables within databases:
You can Search for tables by name or ID to filter the list and use the sort button and column headers to sort the list.
<!-------------------------------- END ADMIN UI ------------------------------->{{% /tab-content %}} {{% tab-content %}}
<!------------------------------ BEGIN INFLUXCTL ------------------------------>Use the influxctl table list command
to list all tables in a database in your {{< product-name omit=" Cluster" >}} cluster.
{{% code-placeholders "DATABASE_NAME" %}}
<!-- pytest.mark.skip -->influxctl table list DATABASE_NAME
{{% /code-placeholders %}}
Replace the following:
DATABASE_NAME{{% /code-placeholder-key %}}:
Name of the database containing the tables to listThe influxctl table list command supports the following output formats:
table (default): Human-readable table formatjson: JSON format for programmatic useUse the --format flag to specify the output format:
{{% code-placeholders "DATABASE_NAME" %}}
influxctl table list --format json DATABASE_NAME
{{% /code-placeholders %}}
<!------------------------------- END INFLUXCTL ------------------------------->{{% /tab-content %}} {{% tab-content %}}
<!----------------------------- BEGIN SQL/INFLUXQL ---------------------------->To list tables using SQL or InfluxQL, use the influxctl query command to pass
the appropriate statement.
SHOW TABLES
SHOW MEASUREMENTS
Provide the following with your command:
token setting from
the influxctl connection profile
or the --token command flag.database setting
from the influxctl connection profile
or the --database command flag.SHOW TABLES statement or InfluxQL query with the SHOW MEASUREMENTS statement.{{% code-placeholders "DATABASE_(TOKEN|NAME)" %}}
influxctl query \
--token DATABASE_TOKEN \
--database DATABASE_NAME \
"SHOW TABLES"
influxctl query \
--token DATABASE_TOKEN \
--database DATABASE_NAME \
--language influxql \
"SHOW MEASUREMENTS"
{{% /code-placeholders %}}
Replace the following:
DATABASE_TOKEN{{% /code-placeholder-key %}}:
Database token with read access to the queried databaseDATABASE_NAME{{% /code-placeholder-key %}}:
Name of the database to query{{% /tab-content %}} {{< /tabs-wrapper >}}