> For the complete documentation index, see [llms.txt](https://docs.layraweb.com.tr/merhaba/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layraweb.com.tr/merhaba/sql-tarafi/konular/sorgulamalar/from.md).

# FROM

SQL "FROM" komutu, veritabanındaki hangi tablo veya tablo gruplarından veriler çekileceğini belirtir. Örneğin, aşağıdaki sorguda "customers" tablosundan veriler çekilmektedir:

```sql
SELECT * FROM customers;
```

Bu sorguda, "FROM customers" kısmı verilerin "customers" tablosundan çekileceğini belirtmektedir.

Eğer birden fazla tablo kullanmak isterseniz, SQL "JOIN" komutunu kullanabilirsiniz. Örneğin, aşağıdaki sorguda "customers" ve "orders" tabloları birleştirilmiş ve veriler çekilmektedir:

```sql
SELECT customers.name, customers.city, orders.order_date
FROM customers
JOIN orders
ON customers.customer_id = orders.customer_id;
```

Bu şekilde, "FROM" komutu veritabanındaki verilerin nereden çekileceğini belirtmekte ve SQL sorgularının nasıl yapılacağını belirlemekte önemli bir rol oynar.
