DELETE FROM deleteTable WHERE id NOT IN ( SELECT dt.minno FROM ( SELECT MIN( id ) AS minno FROM deleteTable GROUP BY uid, pid, credit, date) dt )
1