Postgresql Drop Duplicate Rows In Sql