Pgsql String Agg Sql Server Distinct Syntax