Postgres Concatenate Strings Group By Sql Interview