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

> LineAsStringWithNamesAndTypes 포맷 문서

# LineAsStringWithNamesAndTypes

| 입력 | 출력 | 별칭 |
| -- | -- | -- |
| ✗  | ✔  |    |

<div id="description">
  ## 설명
</div>

`LineAsStringWithNames` 포맷은 [`LineAsString`](/ko/reference/formats/LineAsString/LineAsString) 포맷과 유사하지만
헤더 행 2개를 출력합니다. 하나는 컬럼 이름을, 다른 하나는 타입을 나타냅니다.

<div id="example-usage">
  ## 사용 예시
</div>

```sql title="Query" theme={null}
CREATE TABLE example (
    name String,
    value Int32
)
ENGINE = Memory;

INSERT INTO example VALUES ('John', 30), ('Jane', 25), ('Peter', 35);

SELECT * FROM example FORMAT LineAsStringWithNamesAndTypes;
```

```response title="Response" theme={null}
name    value
String    Int32
John    30
Jane    25
Peter    35
```

<div id="format-settings">
  ## 포맷 설정
</div>
