Would you please help me to solve this duplication entry issue?
I have columns in my table as shown below;
**Date_time** **Pro** **Color**
2016-10-17 Basketball Red
2016-10-17 Basketball Red
2016-10-18 Hockey Silver
2016-10-18 Hockey Silver
I need to delete duplicated entries and ending up having;
**Date_time** **Pro** **Color**
2016-10-17 Basketball Red
2016-10-18 Hockey Silver
I used this code to get what I want however, I was not success on my attempting.
DELETE FROM Sport WHERE date_time NOT IN (SELECT MIN(date_time)
FROM sport GROUP BY date_time,pro,color)
Thanks a lot in advance.