📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ARRAY_CONCAT



Concats two arrays.

Syntax

ARRAY_CONCAT( <array1>, <array2> )

Examples

SELECT ARRAY_CONCAT([1, 2], [3, 4]); ┌──────────────────────────────┐ │ array_concat([1, 2], [3, 4]) │ ├──────────────────────────────┤ │ [1,2,3,4] │ └──────────────────────────────┘

Was this page helpful?