Postgres Aggregate Into Array Interview