# ARRAYS_OVERLAP() Function

### Description

Determines if the input arrays have any elements in common

### Syntax

```sql
ARRAYS_OVERLAP(array1 , array2)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _array1_ | The array1 argument | Array | Yes |
| _array2_ | The array2 argument | Array | Yes |

#### Notes

-   Returns TRUE if there is any element common to both arrays
-   Returns FALSE if they have no elements in common
-   Returns NULL if either input is NULL

### Example

```sql
SELECT
    ARRAYS_OVERLAP(tags, other_tags)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

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

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