---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/yql/reference/syntax/select/from_select.md
  - https://ydb.tech/docs/ru/yql/reference/syntax/select/from_select.md
sourcePath: en/core/yql/reference/syntax/select/from_select.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.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 *;
```

