Sql Set With Select Statement Postgresql Vs Mysql