---
metadata:
  - name: generator
    content: Diplodoc Platform v5.51.0
alternate:
  - https://e2e.viewer-test.ydocs.io/en/yql/syntax/select/without.md
  - https://e2e.viewer-test.ydocs.io/ru/yql/syntax/select/without.md
  - href: https://e2e.viewer-test.ydocs.io/ru/yql/syntax/select/without.md
    type: text/markdown
    title: Markdown version
  - href: https://e2e.viewer-test.ydocs.io/ru/llms.txt?revision=ytsaurus-test-revision5
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://e2e.viewer-test.ydocs.io/ru/llms.txt?revision=ytsaurus-test-revision5

# WITHOUT

Исключение столбцов из результата запроса `SELECT *`. С модификатором `IF EXISTS` не выдается ошибки для отсутствующих столбцов.

## Примеры

```yql
SELECT * WITHOUT foo, bar FROM my_table;
SELECT * WITHOUT IF EXISTS foo, bar FROM my_table;
```

```yql
PRAGMA simplecolumns;
SELECT * WITHOUT t.foo FROM my_table AS t
CROSS JOIN (SELECT 1 AS foo) AS v;
```
