Postgresql Remove Duplicate Rows Where Data