Description
Concatenates the elements in an array using a separator to return one string
Syntax
ARRAY_JOIN(array1 [, array2 ...])
Parameters
| Parameter | Description | Data Type | Required |
|---|---|---|---|
| array | Array input | Array | Yes |
| delimiter | Separator string placed between elements | String | Yes |
Notes
- The array elements should be a primitive data type
Example
SELECT
ARRAY_JOIN(tags, ', ')
FROM
rippling.employee.Employee
LIMIT
5;