Postgresql String Agg Distinct Order By Mysql Php Example