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

> Tabela do sistema com informações sobre as projeções existentes em todas as tabelas.

# system.projections

## Descrição

Contém informações sobre as projeções existentes em todas as tabelas.

## Colunas

* `database` ([String](/pt-BR/reference/data-types/string)) — Nome do banco de dados.
* `table` ([String](/pt-BR/reference/data-types/string)) — Nome da tabela.
* `name` ([String](/pt-BR/reference/data-types/string)) — Nome da projeção.
* `type` ([Enum8('Normal' = 0, 'Aggregate' = 1)](/pt-BR/reference/data-types/enum)) — Tipo de projeção.
* `sorting_key` ([Array(String)](/pt-BR/reference/data-types/array)) — Chave de ordenação da projeção.
* `query` ([String](/pt-BR/reference/data-types/string)) — Consulta da projeção.
* `settings` ([Map(String, String)](/pt-BR/reference/data-types/map)) — Configurações da projeção.

## Exemplo

```sql theme={null}
SELECT * FROM system.projections LIMIT 2 FORMAT Vertical;
```

```text theme={null}
Row 1:
──────
database:    default
table:       landing
name:        improved_sorting_key
type:        Normal
sorting_key: ['user_id','date']
query:       SELECT * ORDER BY user_id, date
settings:     {}

Row 2:
──────
database:    default
table:       landing
name:        agg_no_key
type:        Aggregate
sorting_key: []
query:       SELECT count()
settings:     {}
```
