postgresql array last element
snippet in sql

postgresql array last element

user4024

arr[array_length(arr, 1)]