---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ytsaurus.tech/docs/en/yql/syntax/select/from_select.md
  - https://ytsaurus.tech/docs/ru/yql/syntax/select/from_select.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ytsaurus.tech/docs/en/llms.txt

## FROM ... SELECT ... {#from-select}

An inverted format, first specifying the data source and then the operation.

#### Examples

```yql
FROM my_table SELECT key, value;
```

```yql
FROM a_table AS a
JOIN b_table AS b
USING (key)
SELECT *;
```

