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

> Documentación sobre el formato LineAsStringWithNamesAndTypes

# LineAsStringWithNamesAndTypes

| Entrada | Salida | Alias |
| ------- | ------ | ----- |
| ✗       | ✔      |       |

<div id="description">
  ## Descripción
</div>

El formato `LineAsStringWithNames` es similar al formato [`LineAsString`](/es/reference/formats/LineAsString/LineAsString),
pero genera dos filas de encabezado: una con los nombres de las columnas y otra con los tipos.

<div id="example-usage">
  ## Ejemplo 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">
  ## Ajustes de formato
</div>
