結果 : databricks sql get last element of array