I need to remove semi duplicate records from the following table
ID PID SCORE 1 1 50 2 33 20 3 1 90 4 5
I can't see your query, so I've made up this example...
SELECT PID, MAX(Score) FROM tblTable GROUP BY PID