# LEFT JOIN Keyword

### Description

Returns all records from the left table and matched records from the right

### Syntax

```sql
table1 LEFT JOIN table2
```

### Example

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

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

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