# INNER JOIN Keyword

### Description

Returns records with matching values in both tables

### Syntax

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

### Example

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

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

> 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.
