Postgresql Find Duplicate Rows In Rem