DELETEFROMpublishSheetWHERE id IN ( SELECT dt.id FROM ( select id from publishSheet group by publishTitle having COUNT(publishTitle)>1 ) dt )