Postgres Find Duplicate Rows R