Fixed abandoned projects page for PostgreSQL

The syntax previously used is a MySQL extension (see ONLY_FULL_GROUP_BY notes
at <http://dev.mysql.com/doc/refman/5.0/en/group-by-extensions.html>).

Fixes issue #2748.