Postgres Array Aggregate Postgresql Interview