I have a table which shows product ID's and how many times they have been given, 1 star, 2 stars, 3 stars, 4 stars and 5 stars when reviewed by customers along with the average rating for that product. There are some duplicate rows appearing in this table. How can I remove the rows which are complete duplicates e.g. ProductId 1196585. An example of the table is below.
ProductId | rate1 | rate2 | rate3 | rate4 | rate5 | aveRate
1294518 | 4 | 1 | 0 | 0 | 0 | 1
9226582 | 0 | 0 | 3 | 0 | 0 | 3
3946583 | 0 | 0 | 0 | 1 | 0 | 4
7392588 | 1 | 0 | 0 | 0 | 6 | 5
1196585 | 0 | 0 | 2 | 3 | 9 | 5
1196585 | 0 | 0 | 2 | 3 | 9 | 5
For clarification I want to modify the table and I will make a copy of it first.