Selective delete followed by an insert - help plz

Hi,

Is there a method like ON DUPLICATE KEY UPDATE which would let me delete records prior to an insert, where there won’t be a duplicated key? OR, must I simply do a conditional delete followed by an ordinary insert.

bazz