> For the complete documentation index, see [llms.txt](https://olexsyn.gitbook.io/enote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olexsyn.gitbook.io/enote/data/mysql/select-distinct.md).

# SELECT DISTINCT

Оператор `SELECT DISTINCT`використовується для повернення лише відмінних (різних) значень.

Усередині таблиці стовпець часто містить багато повторюваних значень; іноді вам потрібно лише перелічити різні значення.

#### Синтаксис SELECT DISTINCT

```sql
SELECT DISTINCT column1, column2, ... FROM table_name;
```
