# JOIN Keyword

### Description

Combines rows from two or more tables based on a related column

### Syntax

```sql
SELECT table_name1.column_name,
table_name2.column_name
FROM table_name1
JOIN table_name2
```

### Example

```sql
SELECT
  e.full_name,
  d.name
FROM
  rippling.employee.Employee e
  JOIN rippling.company.Department d ON e.department = d.id;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/join

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
