how to delete all duplicate row on mysql and keep one with Query?
table name is: transaction
my duplicate row:
reference    type  
---------  --------
        1         9
        1         10
        1         10
        1         10
        1         11
        1         11
correct row:
reference    type  
---------  --------
        1         9
        1         10
        1         11
 
     
    