> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baenninger.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Filtern

Die `WHERE`-Klausel wir benutzt, um Datensätze zu filtern.

```sql theme={null}
SELECT column1, column2, ...
FROM table_name
WHERE condition;
```

<Info>
  Die `WHERE`-Klausel wird nicht nur bei `SELECT`-Statements, sondern auch bei `UPDATE`, `DELETE`, etc. verwendet
</Info>

## Beispiel

```sql theme={null}
SELECT * FROM Customers
WHERE Country = 'Mexico';
```

In diesem Beispiel werden alle Kunden aus Mexiko ausgewählt.
