> ## 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.

> Документация для формата LineAsStringWithNames

# LineAsStringWithNames

| Ввод | Вывод | Псевдоним |
| ---- | ----- | --------- |
| ✗    | ✔     |           |

<div id="description">
  ## Описание
</div>

Формат `LineAsStringWithNames` похож на формат [`LineAsString`](/ru/reference/formats/LineAsString/LineAsString), но выводит строку заголовка с именами столбцов.

<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 LineAsStringWithNames;
```

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

<div id="format-settings">
  ## Настройки формата
</div>
