> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-1d264819.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> `timeSeriesTags` テーブル関数は、テーブルエンジンが TimeSeries エンジンであるテーブル `db_name.time_series_table` で使用される Tags テーブルを返します。

# timeSeriesTags

`timeSeriesTags(db_name.time_series_table)` - テーブルエンジンが [TimeSeries](/ja/reference/engines/table-engines/integrations/time-series) エンジンであるテーブル `db_name.time_series_table` で使用される [Tags テーブル](/ja/reference/engines/table-engines/integrations/time-series#tags-table) を返します。

```sql theme={null}
CREATE TABLE db_name.time_series_table ENGINE=TimeSeries TAGS tags_table
```

この関数は、*tags* テーブルが内側にある場合でも動作します:

```sql theme={null}
CREATE TABLE db_name.time_series_table ENGINE=TimeSeries TAGS INNER UUID '01234567-89ab-cdef-0123-456789abcdef'
```

以下のクエリは同等です。

```sql theme={null}
SELECT * FROM timeSeriesTags(db_name.time_series_table);
SELECT * FROM timeSeriesTags('db_name.time_series_table');
SELECT * FROM timeSeriesTags('db_name', 'time_series_table');
```
