Skip to content

ARRAY

SELECT ARRAY[1,2,3];
{1,2,3}

In the given example, an array of integers is created using the ARRAY constructor. The output shows that an array containing the integers 1, 2, and 3 has been successfully created.