Postgresql Remove Duplicate Rows In Sql