I agree that delete + insert is the better option, but for future reference you could try INSERT IGNORE or a REPLACE if all you were interested in was not re-adding existing items.