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

> Dynamic 컬럼에 저장된 고유 데이터 타입 목록을 계산합니다.

# distinctDynamicTypes

<div id="distinctDynamicTypes">
  ## distinctDynamicTypes
</div>

도입 버전: v24.9.0

[Dynamic](/ko/reference/data-types/dynamic) 컬럼에 저장된 고유 데이터 타입 목록을 계산합니다.

**구문**

```sql theme={null}
distinctDynamicTypes(dynamic)
```

**인수**

* `dynamic` — Dynamic 컬럼. [`Dynamic`](/ko/reference/data-types/dynamic)

**반환 값**

정렬된 데이터 타입 이름 목록을 반환합니다. [`Array(String)`](/ko/reference/data-types/array)

**예시**

**혼합 타입 기본 사용법**

```sql title=Query theme={null}
DROP TABLE IF EXISTS test_dynamic;
CREATE TABLE test_dynamic(d Dynamic) ENGINE = Memory;
INSERT INTO test_dynamic VALUES (42), (NULL), ('Hello'), ([1, 2, 3]), ('2020-01-01'), (map(1, 2)), (43), ([4, 5]), (NULL), ('World'), (map(3, 4));

SELECT distinctDynamicTypes(d) FROM test_dynamic;
```

```response title=Response theme={null}
┌─distinctDynamicTypes(d)──────────────────────────────────────────┐
│ ['Array(Int64)', 'Date', 'Int64', 'Map(UInt8, UInt8)', 'String'] │
└──────────────────────────────────────────────────────────────────┘
```
