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

> Documentação do formato LineAsStringWithNamesAndTypes

# LineAsStringWithNamesAndTypes

| Entrada | Saída | Alias |
| ------- | ----- | ----- |
| ✗       | ✔     |       |

<div id="description">
  ## Descrição
</div>

O formato `LineAsStringWithNames` é semelhante ao formato [`LineAsString`](/pt-BR/reference/formats/LineAsString/LineAsString),
mas exibe duas linhas de cabeçalho: uma com os nomes das colunas e outra com os tipos.

<div id="example-usage">
  ## Exemplo de uso
</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">
  ## Configurações de formato
</div>
