I read all the relevant duplicated questions/answers and I found this to be the most relevant answer:
INSERT IGNORE INTO temp(MAILING_ID,REPORT_ID) SELECT DISTI
For Mysql:
DELETE t1 FROM yourtable t1 INNER JOIN yourtable t2 WHERE t1.id < t2.id AND t1.identField1 = t2.identField1 AND t1.identField2 = t2.identField2;