# CROSS JOIN Keyword

### Description

Returns the Cartesian product (all ordered pairs) of two tables

### Syntax

```sql
table1 CROSS JOIN table2
```

### Example

```sql
SELECT 
  e.id AS Employee_id, 
  c.id AS Candidate_id 
FROM 
  rippling.employee.Employee e 
  CROSS JOIN rippling.candidate.Candidate c;
```

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

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